On Tue, Sep 21, 2010 at 10:17 AM, CraftyTech <hmmed...@gmail.com> wrote:
[snip]
> This is what the host file looks like:
> # HEADER: This file was autogenerated at Tue Sep 21 12:51:18 -0400
> 2010
> # HEADER: by puppet.  While it can still be managed manually, it
> # HEADER: is definitely not recommended.
> 127.0.0.1       localhost.localdomain   localhost
>
> There are no other hosts declarations. i.e,
>
> grep -iR "host {" /etc/puppet/
> /etc/puppet/modules/basics/manifests/init.pp:      @@host { "$fqdn":
> ip => $ipaddress, host_aliases => $hostname}
> /etc/puppet/modules/basic/manifests/hosts.pp_bak:      host
> { 'test_host_for_puppet':
> /etc/puppet/modules/basic/manifests/init.pp:      @@host { "$fqdn": ip
> => $ipaddress, host_aliases => $hostname, tag => "${func_group}"}
>

What does the output of the following commands return?

facter fqdn
facter hostname
facter ipaddress

It looks like your hostname is localhost.localdomain, and puppet is
refusing to change the entry you already have for
localhost.localdomain from 127.0.0.1 to whatever the ipaddress fact
returns.

Cheers,
-- 
Jeff McCune
http://www.puppetlabs.com/

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to