forked from Controls/gitea-pages
Improved puppet agent docu
This commit is contained in:
@@ -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 .
|
||||
```
|
||||
Reference in New Issue
Block a user