Improved puppet agent docu

This commit is contained in:
2023-09-12 08:14:20 +02:00
parent 0e20a68d70
commit 8aa19fb6b5
3 changed files with 50 additions and 69 deletions
+16
View File
@@ -0,0 +1,16 @@
# Puppet Client
The Puppet Agent updates the configuration on the node. It automatically runs regulary, for configuration details check the [configuration guide](../configuration/puppet_agent).
## 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 .
```