This smells like you have a second copy of facter or some other facts somewhere in your RUBYLIB, as the latest version no longer uses Facter::IPAddress. Are you sure you haven't got an RPM or local copy installed somewhere else?
Try running facter --trace as well so we can see the output. The paths might give a clue as to where its traversing on the filesystem. ken. On Mon, Jan 30, 2012 at 7:42 AM, Sven Sporer <s...@intothespirit.com> wrote: > Hi, I run into problems with the ipaddress fact using the latest > Facter gem (1.6.4, 1.6.5) on SLES11. The versions and gems I use work > perfectly fine on SLES10 SP3. > > The problem: running "facter" without arguments results in an error, > even though the erroring fact "ipaddress" is ok. > > test:~ # cat /etc/SuSE-release > SUSE Linux Enterprise Server 11 (x86_64) > VERSION = 11 > PATCHLEVEL = 1 > test:~ # ruby --version > ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux] > test:~ # gem --version > 1.3.5 > test:~ # puppet --version > 2.7.9 > test:~ # facter --version > 1.6.5 > test:~ # facter kernel > Linux > test:~ # facter ipaddress > xx.xx.xxx.xxx (ip address is ok) > test:~ # facter > The interpreter parameter to 'setcode' is deprecated and will be > removed in a future version. > Error: uninitialized constant Facter::IPAddress > test:~ # > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@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. > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@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.