4359 links
  • Arnaud's links
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
  • puppetdb call api en HTTPS

    With SSL:

    curl -X GET https://puppetdb.example.com:8081/pdb/query/v4/resources \
    --tlsv1 \
    --cacert /etc/puppet/ssl/certs/ca.pem \
    --cert /etc/puppet/ssl/certs/thisnode.pem \
    --key /etc/puppet/ssl/private_keys/thisnode.pem \
    --data-urlencode query@<filename>

    This requires that you specify a certificate (issued by the same CA PuppetDB trusts), a private key, and a CA certificate.

    In both examples, <filename> should be a file that contains the query to execute.

    October 19, 2015 at 11:35:51 AM GMT+2 - permalink - archive.org - https://docs.puppetlabs.com/puppetdb/3.1/api/query/tutorial.html
    puppetdb
Links per page: 20 50 100
Shaarli - The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community - Help/documentation