Install puppet clinet on Centos 6

Setting up my puppet clinet in centos and then connect it to my puppetmaster.

Enbling the puppet lab repository

rpm -ivh http://yum.puppetlabs.com/el/6/products/i386/puppetlabs-release-6-7.noarch.rpm

Enabling EPEL repos

rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

 

Install puppet client

yum install puppet

 

make shore that you hostfile is ok /etc/hosts

10.30.0.1       puppetmaster.xxx.xx puppetmaster

 

Openup the file /etc/sysconfig/puppet and set

# The puppetmaster server
PUPPET_SERVER=puppetmaster

 

Now its time to start the puppet client

/etc/init.d/puppet start
chkconfig puppet on

 

Now the client will show up on the puppetmaster on the master run

puppetca --list

Sign the servers cert

puppetca –sign server2

And now your clinet is connected to the server.

 

 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: