Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
linux:puppet [2017/01/08 17:33]
admin
linux:puppet [2018/09/25 15:48]
admin
Line 1: Line 1:
 ====== Client side ===== ====== Client side =====
 +First
 +   apt install puppet
 +   
 +You can choose how to reach the server by configuring it or using dns, which is a    great advantage if you have all the servers in one domain.
 +==== Config way ====
 +   ​puppet config set server puppet.starlab.cz
 +
 +==== DNS way ====
 +
   - make sure you have properly setup hostname in /​etc/​hostname and /etc/hosts   - make sure you have properly setup hostname in /​etc/​hostname and /etc/hosts
   - add puppet to your /etc/hosts   - add puppet to your /etc/hosts
Line 31: Line 40:
 Hey! We have a new client Hey! We have a new client
  
-  root@ibm:​~# ​puppetca ​--list+  root@ibm:​~# ​puppet cert --list
     "​xen.starlab.cz"​ (AA:​A6:​EA:​69:​9A:​35:​91:​C2:​EA:​8B:​CF:​B4:​70:​8E:​2E:​4B)     "​xen.starlab.cz"​ (AA:​A6:​EA:​69:​9A:​35:​91:​C2:​EA:​8B:​CF:​B4:​70:​8E:​2E:​4B)
  
 So sign it! So sign it!
-  ​puppetca ​--sign xen.starlab.cz+  ​puppet cert --sign xen.starlab.cz
   notice: Signed certificate request for xen.starlab.cz   notice: Signed certificate request for xen.starlab.cz
   notice: Removing file Puppet::​SSL::​CertificateRequest xen.starlab.cz at '/​path/​to.pem'​   notice: Removing file Puppet::​SSL::​CertificateRequest xen.starlab.cz at '/​path/​to.pem'​
 
linux/puppet.txt · Last modified: 2019/01/28 15:16 by admin