diff --git a/admin-guide/puppet/client.rst b/admin-guide/puppet/client.rst index 277cf5d5..441dcd2a 100644 --- a/admin-guide/puppet/client.rst +++ b/admin-guide/puppet/client.rst @@ -31,3 +31,12 @@ Puppet execution can be disabled for a certain amount of time with the The disabling time has to be in the ``date`` format (see date(1)). +To manually check the node information on the Puppet server for given host, do :: + + FQDN=$(hostname --fqdn) + curl \ + --cacert /etc/puppetlabs/puppet/ssl/certs/ca.pem \ + --cert /etc/puppetlabs/puppet/ssl/certs/$FQDN.pem \ + --key /etc/puppetlabs/puppet/ssl/private_keys/$FQDN.pem \ + "https://puppet01.psi.ch:8140/puppet/v3/node/$FQDN?environment=prod&configured_en" \ + | jq .