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
linux:puppet [2017/07/27 15:11]
tomsa [server side]
linux:puppet [2019/01/28 15:16]
admin [Client side again]
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 104: Line 113:
  
 Why cron job instead of daemon? Cron job can sometimes perform better and use less memory. ​ Why cron job instead of daemon? Cron job can sometimes perform better and use less memory. ​
 +
 +===== Autostart =====
 +<code bash>
 +puppet agent --enable
 +service puppet restart
 +</​code>​
 +
 
linux/puppet.txt · Last modified: 2019/01/28 15:16 by admin