Install puppet agent on CentOS 7 to use with Forman
Posted On May 3, 2016
Lets take a look at installing puppet agent on CentOS 7 and manage it with forman. We need to make sure names are resolvable from server and host.
Lets add Puppetlabs repo
rpm -ivh http://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm
Now lets install puppet client
yum install puppet
Run below command to configure puppet client
puppet resource service puppet ensure=running enable=true
Edit puppet configuration and add our forman server
server = forman.local
systemctl start puppet
puppet agent –noop –server=forman.local
On the server side check for and sign certificates.
puppet cert list
puppet cert sign "cert name"
At this point if you go to forman hosts – all hosts you should see new host on the list