Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


puppet_server_centos_6.5

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
puppet_server_centos_6.5 [2014/01/06 12:35] adminpuppet_server_centos_6.5 [2014/01/06 12:45] admin
Line 2: Line 2:
  
 ====Install packages==== ====Install packages====
-Install the EPEL repo first, then install puppet-server+Install EPEL and the Puppet repo first, then install puppet-server 
 +  rpm -i http://<your mirror>/epel-release-6-8.noarch.rpm 
 +  rpm -i http://yum.puppetlabs.com/puppetlabs-release-el-6.noarch.rpm 
 +  
   yum install puppet-server   yum install puppet-server
  
 ====Configure firewall==== ====Configure firewall====
-Open TCP port 8140 for puppet traffic.+Open TCP port 8140 for puppet traffic. For example, insert a rule at line 7 and save.
   iptables -I INPUT 7 -m state --state NEW -m tcp -p tcp --dport 8140 -j ACCEPT -m comment --comment Puppet   iptables -I INPUT 7 -m state --state NEW -m tcp -p tcp --dport 8140 -j ACCEPT -m comment --comment Puppet
 +  
 +  service iptables save
 +  
 +====Configure to start client and server at boot====
 +  chkconfig puppet on
 +  chkconfig puppetmaster on
 +  
puppet_server_centos_6.5.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1