# facter
/usr/lib/ruby/site_ruby/1.8/facter/ipmess.rb:19: uninitialized constant
Facter::IPAddress (NameError)
from /usr/lib/ruby/site_ruby/1.8/facter/util/loader.rb:72:in `load'
from /usr/lib/ruby/site_ruby/1.8/facter/util/loader.rb:72:in `load_file'
from /usr/lib/ruby/site_ruby/1.8/facter/util/loader.rb:38:in `load_all'
from /usr/lib/ruby/site_ruby/1.8/facter/util/loader.rb:33:in `each'
from /usr/lib/ruby/site_ruby/1.8/facter/util/loader.rb:33:in `load_all'
from /usr/lib/ruby/site_ruby/1.8/facter/util/loader.rb:30:in `each'
from /usr/lib/ruby/site_ruby/1.8/facter/util/loader.rb:30:in `load_all'
from /usr/lib/ruby/site_ruby/1.8/facter/util/collection.rb:90:in
`load_all'
from /usr/lib/ruby/site_ruby/1.8/facter.rb:91:in `to_hash'
from /usr/bin/facter:125
My facter version is 1.5.4.
--
Michael Conigliaro
Computer Analyst
Fuss & O'Neill Technologies
www.fandotech.com
Michael Conigliaro wrote:
> For anyone else who has this problem, here's the fix:
>
> rm /usr/lib/ruby/site_ruby/1.8/facter/ipmess.rb
>
> According to someone in #puppet, this file should have been deleted
> during the upgrade...
Depends on HOW you upgrade. If you install from source (install.rb)
then no old files are removed.
Regards
James Turnbull
- --
Author of:
* Pro Linux Systems Administration
(http://www.amazon.com/gp/product/1430219122/)
* Pulling Strings with Puppet
(http://www.amazon.com/gp/product/1590599780/)
* Pro Nagios 2.0
(http://www.amazon.com/gp/product/1590596099/)
* Hardening Linux
(http://www.amazon.com/gp/product/1590594444/)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJ8nX39hTGvAxC30ARAsDmAJ9DupSYK/mKD66wco7Vds1RaNdZ0wCfUg4L
3b5d0mkwDmXHm/oUCwHQB0U=
=+H89
-----END PGP SIGNATURE-----
> Depends on HOW you upgrade. If you install from source (install.rb)
> then no old files are removed.
I think this is a problem in the RPM -- I had the same error when I
upgraded Facter via RPM from 1.5.2 to 1.5.4. Though, restarting Puppet
makes it go away. So now I notify the Puppet service from the Facter
package, which neatly solves the problem[1].
cYa,
Avi
[1] At least, it does for me. YMMV.