I installed the 2.6.2 puppet and facter 1.5.8 gems and tried to run puppet, but it failed with the following message: err: Could not run Puppet configuration client: Could not retrieve local facts: uninitialized constant Facter::IPAddress Then I tried running facter alone: # facter /usr/lib64/ruby/vendor_ruby/1.8/facter/ipmess.rb:19: uninitialized constant Facter::IPAddress (NameError) After that I tried commenting lines 17-46 from /usr/lib64/ruby/ vendor_ruby/1.8/facter/ipmess.rb but to no avail: # facter /usr/lib64/ruby/gems/1.8/gems/facter-1.5.8/lib/facter/util/ manufacturer.rb:36:in `dmi_find_system_info'': undefined method `each_pair'' for "Type:":String (NoMethodError) Is this a known bug? -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Disregard my question, for some reason I already had an old version of puppet and facter on my new SLES11 machines. After removing the old version it worked flawlessly. On Oct 21, 3:29 pm, Andreas Paul <a.p...@enbw.com> wrote:> I installed the 2.6.2 puppet and facter 1.5.8 gems and tried to run > puppet, but it failed with the following message: > err: Could not run Puppet configuration client: Could not retrieve > local facts: uninitialized constant Facter::IPAddress > > Then I tried running facter alone: > > # facter > /usr/lib64/ruby/vendor_ruby/1.8/facter/ipmess.rb:19: uninitialized > constant Facter::IPAddress (NameError) > > After that I tried commenting lines 17-46 from /usr/lib64/ruby/ > vendor_ruby/1.8/facter/ipmess.rb but to no avail: > > # facter > /usr/lib64/ruby/gems/1.8/gems/facter-1.5.8/lib/facter/util/ > manufacturer.rb:36:in `dmi_find_system_info'': undefined method > `each_pair'' for "Type:":String (NoMethodError) > > Is this a known bug?-- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Reasonably Related Threads
- uninitialized constant Facter::IPAddress (NameError)
- SLES11: facter without arguments produces Error: uninitialized constant Facter::IPAddress
- ANNOUNCE: Facter 1.5
- Error 400 on SERVER: Could not find class pentaho for server.test.com
- can't activate i18n (~> 0.4.1, runtime) for ["mail-2.2.10"