Skip to content

Instantly share code, notes, and snippets.

@ody
Created August 24, 2012 18:14
Show Gist options
  • Save ody/3453805 to your computer and use it in GitHub Desktop.
Save ody/3453805 to your computer and use it in GitHub Desktop.
# Add this to auth.conf
# status
path /status
auth any
method find
allow *
# Run this from the command line
curl -k -H "Accept: pson" https://metis.puppetlabs.lan:8140/production/status/no_key
# It will return the json response of:
{"is_alive":true}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment