Skip to content

Instantly share code, notes, and snippets.

@nvalentine-puppetlabs
Created October 22, 2013 19:59
Show Gist options
  • Save nvalentine-puppetlabs/7107123 to your computer and use it in GitHub Desktop.
Save nvalentine-puppetlabs/7107123 to your computer and use it in GitHub Desktop.
Find Puppet exported resources via PuppetDB query
curl -G -H "Accept: application/json" 'http://localhost:8080/resources' --data-urlencode 'query=["=","exported", true]'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment