Skip to content

Instantly share code, notes, and snippets.

@kbarber
Created July 21, 2014 12:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kbarber/c6941099bea07096361e to your computer and use it in GitHub Desktop.
Save kbarber/c6941099bea07096361e to your computer and use it in GitHub Desktop.
# puppet agent -t
Info: Retrieving pluginfacts
Info: Retrieving plugin
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid relationship: File[/tmp/foo] { require => Package[foobar1] }, because Package[foobar1] doesn't seem to be in the catalog
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
root@puppetdb1:/etc/puppet/manifests# curl 'http://localhost:8080/v4/reports'
[ {
"hash" : "24274701699ddee1b538ffb8400d0b17bf911405",
"puppet-version" : "3.6.2",
"receive-time" : "2014-07-13T18:00:22.123Z",
"report-format" : 4,
"start-time" : "2014-07-13T18:00:19.264Z",
"end-time" : "2014-07-13T18:00:19.750Z",
"transaction-uuid" : "934a327f-0ee4-4576-b4a0-741fc1faf72a",
"status" : null,
"environment" : "production",
"configuration-version" : "1405274421",
"certname" : "puppetdb1.vm"
}, {
"hash" : "e0704489ccf6f93a9f33d526021d63028f80db6a",
"puppet-version" : "3.6.2",
"receive-time" : "2014-07-21T12:52:54.933Z",
"report-format" : 4,
"start-time" : "2014-07-21T12:52:53.366Z",
"end-time" : "2014-07-21T12:52:53.366Z",
"transaction-uuid" : "e135eb18-5e13-45c1-8bcb-ddca479c039e",
"status" : "failed",
"environment" : "production",
"configuration-version" : "",
"certname" : "puppetdb1.vm"
}, {
"hash" : "a014e014cd028c3fe9ee84948335560063f375c7",
"puppet-version" : "3.6.2",
"receive-time" : "2014-07-21T12:53:38.202Z",
"report-format" : 4,
"start-time" : "2014-07-21T12:53:37.318Z",
"end-time" : "2014-07-21T12:53:37.318Z",
"transaction-uuid" : "247ad382-1312-454d-a34b-5eb44fbd9420",
"status" : "failed",
"environment" : "production",
"configuration-version" : "",
"certname" : "puppetdb1.vm"
}, {
"hash" : "2be4c900a1055ca92c2c4bd33dbfaf8037367e92",
"puppet-version" : "3.6.2",
"receive-time" : "2014-07-21T12:54:00.783Z",
"report-format" : 4,
"start-time" : "2014-07-21T12:53:59.948Z",
"end-time" : "2014-07-21T12:53:59.948Z",
"transaction-uuid" : "38b3d090-6bc6-47af-9305-c32426952405",
"status" : "failed",
"environment" : "production",
"configuration-version" : "",
"certname" : "puppetdb1.vm"
} ]
root@puppetdb1:/etc/puppet/manifests#
root@puppetdb1:/etc/puppet/manifests# curl 'http://localhost:8080/v4/version'
{
"version" : "2.1.0"
}root@puppetdb1:/etc/puppet/manifests# puppet apply --version
3.6.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment