With puppet installed, the command /opt/puppet/sbin/refresh-mcollective-metadata is run every 15 minutes. It loggs hostname: Host name lookup failure when it runs.
hostname, hostname -i, and hostname -f all return hostname: Host name lookup failure
machinein your case. Set the FQDN using/etc/hosts- it should be the first entry on the first line that contains the unqualified name as an alias, e.g.127.0.0.1 machine.example.com machine localhost– Felix Frank Jun 28 '14 at 22:34http://jblevins.org/log/hostname
http://serverfault.com/questions/331936/setting-the-hostname-fqdn-or-short-name
– Dan Bowling Jul 11 '14 at 19:10hostnamecommand the "canonical" or usual way to set a machine's host name in Linux? – Nathan Basanese Jan 15 '16 at 23:20