Differences

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

Link to this comparison view

Next revision
Previous revision
kb:puppet [2015/08/23 11:05] – created yehudakb:puppet [2022/01/03 16:03] (current) – external edit 127.0.0.1
Line 1: Line 1:
 Install puppet on Centos you should enable reposiotry  Install puppet on Centos you should enable reposiotry 
 +
 <code bash> <code bash>
-Centos 6 +### SERVER 
-rpm -ivh http://yum.puppetlabs.com/puppetlabs-release-el-6.noarch.rpm+rpm -ivh https://yum.puppetlabs.com/el/6.5/products/x86_64/puppetlabs-release-6-10.noarch.rpm  
 +yum install puppet-server 
  
-Centos 7  +vi /etc/puppet/puppet.conf Edit(and add) dns_alt_names = serv,puppet... 
-rpm -ivh http://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm+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 
 </code> </code>
  
 +<code bash>
 +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 
 +</code>
 +
 +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.1440327903.txt.gz · Last modified: 2022/01/03 16:03 (external edit)
Back to top
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0