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:
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
Back to top