We’re just starting to get our feet wet with Puppet and we found the documentation woefully underwhelming. Here are our notes for getting a basic master/agent setup going with a “Hello world” manifest.
Basic Assumptions: SELinux is disabled
yum install puppet puppetserver
sudo puppet master --verbose --no-daemonize
Once Notice: Starting Puppet master version appears, CTRL+C
dns_alt_names = host.fqdn.tld,alt_name environment_timeout = unlimited environmentpath = $confdir/environments
/etc/puppet/environments/production/manifests/site.pp
with the following
notify {"Hello world!":}
service puppetserver start
/etc/puppet/puppet.conf
with the following
server = hostname.fqdn.tld environment = production
puppet agent --test
or start the puppet agent via service puppet start
puppet cert sign agenthostname.fqdn.tld
puppet agent --test
and look for Hello world notice