client ~ $ facter fqdn; facter hostname; facter ipaddress
client.dev.domain.com
client
172.20.19.191


server ad # facter fqdn; facter hostname; facter ipaddress
server.dev.domain.com
server
172.17.19.175

also very strange.. the collection goes through twice ! Even thought I
have it setup once..
i.e,
debug: Scope(Class[basics]): Collected 2 Host resources in 0.01
seconds
debug: Scope(Class[basics]): Collected 0 Host resources in 0.00
seconds

Thanks,
On Sep 21, 2:38 pm, Jeff McCune <j...@puppetlabs.com> wrote:
> 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 McCunehttp://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