Skip to content

Instantly share code, notes, and snippets.

@jpadams
Created January 5, 2015 01:40
Show Gist options
  • Save jpadams/1d0fd1ed6bccc1cdb95d to your computer and use it in GitHub Desktop.
Save jpadams/1d0fd1ed6bccc1cdb95d to your computer and use it in GitHub Desktop.
Get Classes
curl -k --cert /etc/puppetlabs/puppet/ssl/certs/pe-internal-dashboard.pem --key /etc/puppetlabs/puppet/ssl/private_keys/pe-internal-dashboard.pem -H "Content-Type: text/pson" https://localhost:8140/production/resource_types/class | python -mjson.tool
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment