Puppet master
server name in /etc/puppet/puppet.conf is not needed
set autosign=true in /etc/puppet/puppet.conf
Obtain the puppet master hostname by executing "hostname -f"
Puppet agent
Set the proper puppet hostname in /etc/puppet/puppet.conf which is obtained in the previous command, if that is resolvable. Otherwise need to add that hostname into /etc/hosts file
agent's hostname can be any value. No need to have master's hostnames init. puppet agents hostname need to be resolvable. for eg, to 127.0.0.1