Files
gitea-pages/admin-guide/puppet/client.md
2023-09-12 08:14:20 +02:00

650 B

Puppet Client

The Puppet Agent updates the configuration on the node. It automatically runs regulary, for configuration details check the configuration guide.

Manually Retrieve Node Information From Puppet Server

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 .