Last active
December 15, 2015 19:18
-
-
Save paaloeye/5309970 to your computer and use it in GitHub Desktop.
Puppet REST 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
# Command to communicate with puppet | |
curl --cert /etc/puppet/ssl/certs/puppet..pem \ | |
--key /etc/puppet/ssl/private_keys/puppet..pem \ | |
--cacert /etc/puppet/ssl/ca/ca_crt.pem \ | |
-H 'Accept: yaml' \ | |
https://puppet.:8140/production/catalog/puppet-inv.local | |
# | |
# Paths | |
# | |
# Content of File resource with source attribute 'modules/foo/bar' | |
/production/file_content/modules/foo/bar | |
# Catalog for puppet-inv.local node | |
/production/catalog/puppet-inv.local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment