Last active
October 20, 2015 06:36
-
-
Save GeoffWilliams/dae1c1b55a67d743914b to your computer and use it in GitHub Desktop.
node classifier on master script - how to talk to the NC api
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
| curl -X POST \ | |
| https://$(facter fqdn):4433/classifier-api/v1/groups \ | |
| --cert /etc/puppetlabs/puppet/ssl/certs/$(facter fqdn).pem \ | |
| --key /etc/puppetlabs/puppet/ssl/private_keys/$(facter fqdn).pem \ | |
| --cacert /etc/puppetlabs/puppet/ssl/certs/ca.pem \ | |
| -H "Content-Type: application/json" | |
| -d @data.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment