...
| Code Block | ||
|---|---|---|
| ||
yum install epel-release yum install puppet |
Then create the file etcfile puppet.conf in /etc/puppet/ or /etc/puppetlabs/puppet/ puppet.conf (the path depends on the version of puppet) with this content (replace 'cld-rbt-test-03' with your hostname):
...
| Code Block | ||
|---|---|---|
| ||
root@cld-rbt-test-03 ~]# puppet agent -t Info: Creating a new RSA SSL key for cld-rbt-test-03.cloud.pd.infn.it Info: csr_attributes file loading from /etc/puppetlabs/puppet/csr_attributes.yaml Info: Creating a new SSL certificate request for cld-rbt-test-03.cloud.pd.infn.it Info: Certificate Request fingerprint (SHA256): 16:A6:29:B2:E6:C0:B9:14:7E:62:74:E6:58:5C:0E:33:36:7E:7C:88:5E:32:EE:EB:70:DD:31:EE:DC:3A:1E:FD Info: Certificate for cld-rbt-test-03.cloud.pd.infn.it has not been signed yet Couldn't fetch certificate from CA server; you might still need to sign this agent's certificate (cld-rbt-test-03.cloud.pd.infn.it). Exiting now because the waitforcert setting is set to 0. |
In case of errors (because the host was already in puppet) see
| Code Block |
|---|
[root@cld-config files]# puppetserver ca clean --certname cld-rb-test-03.cloud.pd.infn.it |
See also Risolvere problema con i certificati (puppet agent -t)
On cld-config:
[
| Code Block | ||
|---|---|---|
| ||
root@cld-config modules]# puppetserver ca sign --all Successfully signed certificate request for cld-rbt-test-03.cloud.pd.infn.it [root@cld-config modules]# |
...