Created
January 15, 2014 15:31
-
-
Save kbarber/8438303 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| root@puppetdb1:/tmp# curl 'http://localhost:8080/v3/resources/Notify/tagtest' | |
| [ { | |
| "certname" : "puppetdb1.vm", | |
| "resource" : "6468ca9ce112862839744ddd035dba05e7ddfa5b", | |
| "title" : "tagtest", | |
| "parameters" : { | |
| "tag" : [ "a", "b" ] | |
| }, | |
| "type" : "Notify", | |
| "exported" : true, | |
| "line" : 11, | |
| "file" : "/etc/puppet/manifests/site.pp", | |
| "tags" : [ "a", "b", "notify", "tagtest", "class" ] | |
| } ]root@puppetdb1:/tmcat /etc/puppet/manifests/site.pp | |
| import 'globals.pp' | |
| import 'nodes.pp' | |
| define asdf::fdsa () { | |
| } | |
| @@asdf::fdsa { 'asdf': } | |
| @@notify { "tagtest": | |
| tag => ['a','b'] | |
| } | |
| root@puppetdb1:/tmp# puppet --version | |
| 3.3.1 | |
| root@puppetdb1:/tmp# curl 'http://localhost:8080/v3/version' | |
| { | |
| "version" : "1.6.0-rc1" | |
| }root@puppetdb1:/tmp# dpkg -l puppetdb-terminus | |
| Desired=Unknown/Install/Remove/Purge/Hold | |
| | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend | |
| |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) | |
| ||/ Name Version Architecture Description | |
| +++-=======================================-========================-========================-=================================================================================== | |
| ii puppetdb-terminus 1.5.2-1puppetlabs1 all Connect Puppet to PuppetDB by setting up a terminus for PuppetDB. | |
| root@puppetdb1:/tmp# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment