config.tmpl/puppet-master: use hostname

It seems Puppet Agent can't run if we use the FQDN, which is not the
case on install-server node.
It could be due to the /etc/hosts file and the Puppet SSL certificates
generated with hostname and not FQDN...