REST API using curl An example of how you can use the REST API to retrieve the catalog for a node can be seen using curl . curl --cert /etc/puppet/ssl/certs/mymachine.pem --key /etc/puppet/ssl/private_keys/mymachine.pem --cacert /etc/puppet/ssl/ca/ca_crt.pem -H 'Accept: yaml' https://puppetmaster:8140/production/catalog/mymachine Most of this command consists of pointing curl to the appropriate SSL certificates,