Comments on How to Setup Puppet Master and Agent on CentOS 7
Puppet is an open source configuration management tool and server automation framework. In this tutorial, I will you how to install Puppet on CentOS 7. I will install and configure a CentOS 7 server as a puppet 'master', and the other one as an 'agent'.
8 Comment(s)
Comments
Would be nice to keep SeLinux enabled and create rules instead of disabling it...
Thanks. It helps me. Great.
I had a hard time with this and the option "cert" is deprecated at this moment of writing. It still works though, but.
I had to change my conf file to this and then I could sign the certificate because the agent couldn't find/get the certificate from the puppet master.
Hope it helps other people
# cat /etc/puppet/puppet.conf [main] logdir=/var/log/puppet vardir=/var/lib/puppet ssldir=/var/lib/puppet/ssl rundir=/var/run/puppet factpath=/lib/facter pluginsync=true templatedir=/templates [agent] server=puppetmaster.int.mydomain.comHi
Great job!
I installed without option Selinux disabled and everything is working with test httpd page :)
Thaks a lot!
hey, when I try agent -t the output is like this:
Info: Using configured environment 'production'Info: Retrieving pluginfactsInfo: Retrieving pluginError: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Could not find node statement with name 'default' or 'server.localhost.localdomain, server.localhost, server' on node server.localhost.localdomainWarning: Not using cache on failed catalogError: Could not retrieve catalog; skipping run
I'm trying it on virtualbox
Thanks :) this document helped immensely for my Installation
Thanks, Muhammad for such a great article, Keep moving on
great write up. You have to run firewall-cmd --add-port=80/tcp --permanent on the agent to be able to get the default httpd test page to load