Make sure all nodes have ntp and are in sync:
# ntpq -pn
Install packages in the puppet server:
# apt-get install facter puppet puppetmaster
Install packages in the puppet clients:
# apt-get install facter puppet
Stop and start puppet in puppet server:
# service puppetmaster stop && service puppetmaster start && service puppetmaster status
Add server section in each puppet client /etc/puppet/puppet.conf:
[main] logdir=/var/log/puppet vardir=/var/lib/puppet ssldir=/var/lib/puppet/ssl rundir=/var/run/puppet factpath=$vardir/lib/facter prerun_command=/etc/puppet/etckeeper-commit-pre postrun_command=/etc/puppet/etckeeper-commit-post certificate_revocation = false [agent] server = aspireone
List and sign the client cert requests in the puppet master server:
# puppet cert list && puppet cert sign d510.lan && puppet cert sign d610.lan
In case the certs get messed up… in the master server:
# puppet cert sign -all && puppet cert clean --all
And in the agent servers:
# rm -rf /var/lib/puppet/ssl/* && puppet agent --no-daemonize --server aspireone --onetime --verbose && puppet agent --test