[Pkg-puppet-devel] Bug#490176: Bug#490176: Facter report loopback ip when 'puppet' start before 'networking'

Miguelangel Jose Freitas Loreto miguelangel.freitas at gmail.com
Sat Aug 16 19:20:48 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Micah Anderson escribió:
> * Miguelangel Freitas <miguelangel.freitas at gmail.com> [2008-07-10 07:51-0400]:
>> Package: puppet
>> Version: 0.24.4-8
>>
>>
>> When 'puppet' start before 'networking' and it using facter this
>> report to puppetmaster server with the Loopback IP instead of eth<n>
>> IP, I fix this with:
>>
>> $ /usr/sbin/update-rc.d -f puppet remove && /usr/sbin/update-rc.d
>> puppet defaults 99
> 
> The puppet initscript has the LSB header:
> 
> # Required-Start:    $network $named $remote_fs $syslog
> 
> However debian/rules has:
> 
>         dh_installinit -ppuppet -- defaults 21                                                                                
> Which perhaps makes it start too early?
> 
Apparently 'facter' report the ipaddress = 127.0.0.1 when puppet start before networking.

I using puppet to manage more than 2500 pc in the company where i work, which have diferent configurations (LDAP, DNS, etc), I use a puppet 'fact' to identify everyone of them, but sometimes puppet reported with the loopback address, i fix this applying the solution described above.
>
> Micah

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkinKI0ACgkQEj/fBl4PScRCrQCeO5lkcXX81EIZ0nllP3GBx5nH
Nq4AnjdAhgV7FkmomMkiKRL4ea5iZ5Yk
=jmt0
-----END PGP SIGNATURE-----





More information about the Pkg-puppet-devel mailing list