Skip to content

Instantly share code, notes, and snippets.

@oliverdaff
Created June 7, 2012 00:23
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 oliverdaff/2885722 to your computer and use it in GitHub Desktop.
Save oliverdaff/2885722 to your computer and use it in GitHub Desktop.
Get facts from puppet master
#expose yam facts under /var/lib/puppet/yaml/facts/ in /etc/puppet/fileserver.conf and access via http
curl -k -H "Accept: yaml" https://puppetmaster:8140/production/facts/hostname
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment