Ask Your Question
0

uninitialized constant Facter::IPAddress on SLES 11

asked 2014-06-27 14:38:16 -0500

spuder gravatar image

When I try and apply a manifest on Sles 11 machines, they give the following error.

Error: Could not run: Could not retrieve facts for sles-git.openstacklocal: uninitialized constant Facter::IPAddress

Searching google seems to indicate that there is a bad ruby file. Removing the file fixes the problem for most.

rm /usr/lib/ruby/site_ruby/1.8/facter/ipmess.rb

Unfortunately for me, the file does not exist on sles 11 so I'm unable to delete it.

How can I get rid of this error?

Source https://groups.google.com/forum/#!top...

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-06-27 14:40:27 -0500

spuder gravatar image

Puppet does not provide repos for sles. Most of the repos available are unsupported and a few even are broken.

I was able to work around this by removing facter and puppet using zypper and reinstall using gems. While puppet discourages using gems for the installation of puppet, it appears to be the best option in my experience with sles.

zypper remove puppet
zypper remove facter

gem install puppet
gem install facter
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-06-27 14:38:16 -0500

Seen: 160 times

Last updated: Jun 27 '14