By thomas, Mon, 07/27/2009 - 11:33
The puppetmaster is installed from the puppet-server rpm. Using yum, you should get the following dependencies installed: augeas-libs; puppet; ruby-augeas; and ruby-shadow (or possibly more). After installing the puppet-server rpm, you can chkconfig puppetmaster on and cd to /etc/puppet
[root@server0 ~]# chkconfig puppetmaster on
[root@server0 ~]# cd /etc/puppet
[root@server0 puppet]# ls
fileserver.conf  manifests  puppet.conf
[root@server0 puppet]# ls manifests
[root@server0 puppet]# 
Both the server and client versions use the /etc/puppet directory. Both are configured from puppet.conf. The default configuration of puppet.conf will be sufficient at this point, but the manifests directory is completely empty. This is possibly the biggest complain with puppet, you start with a blank slate. It is up to you to populate the manifest directory. The only file you will need is site.pp in that directory. The site.pp file names all the other files you wish to include in your manifest.

The puppetmaster listens on port 8140, so we'll need to add that port to our firewall

[root@server0 ~]# iptables -I RH-Firewall-1-INPUT -p tcp -m state --state NEW,ESTABLISHED,RELATED --dport 8140 -j ACCEPT
[root@server0 ~]# iptables-save >/etc/sysconfig/iptables
We cannot start the puppetmaster yet, we have an empty manifests directory, we'll start building the contents of that directory now.