Install puppet on Centos you should enable reposiotry

### SERVER
rpm -ivh https://yum.puppetlabs.com/el/6.5/products/x86_64/puppetlabs-release-6-10.noarch.rpm 
yum install puppet-server 
 
vi /etc/puppet/puppet.conf # Edit(and add) dns_alt_names = serv,puppet...
service puppetmaster start 
chkconfig puppetmaster on
 
#Sign cer
puppet cert list 
puppet cert sign "pp-c01.test01.devops.somewhere.com"
 
# add manifests:
mkdir -p /etc/puppet/manifests 
vi /etc/puppet/manifests/site.pp
service puppetmaster restart 
rpm -ivh https://yum.puppetlabs.com/el/6.5/products/x86_64/puppetlabs-release-6-10.noarch.rpm 
yum install puppet 
# Add puppet master
vi /etc/hosts
 
# config PUPPET_SERVER
vi /etc/sysconfig/puppet 
 
# config dns_alt_names
vi /etc/puppet/puppet.conf 
 
service puppet start 
chkconfig puppet on
puppet agent -t --debug 

Good guide:

http://docs.puppetlabs.com/guides/troubleshooting.html?_ga=1.151383225.1480551404.1440070296#agents-are-failing-with-a-hostname-was-not-match-with-the-server-certificate-error-whats-wrong

Refference * Import mysql https://ask.puppetlabs.com/question/3821/how-do-you-import-a-database-with-puppet/ * DNS https://forge.puppetlabs.com/netmanagers/bind, https://forge.puppetlabs.com/camptocamp/bind

kb/puppet.txt · Last modified: 2015/08/23 15:48 by yehuda
Back to top
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0