Hi all, Fresh install on sl5 (el5) x86_64 and I get this errro when runnning puppet: # puppetd --server=server.domain.com --test Could not load /usr/lib/ruby/site_ruby/1.8/facter/hostname.rb: wrong number of arguments (2 for 1) Could not load /usr/lib/ruby/site_ruby/1.8/facter/network.rb: uninitialized constant Facter::Util Could not load /usr/lib/ruby/site_ruby/1.8/facter/interfaces.rb: uninitialized constant Facter::Util Could not load /usr/lib/ruby/site_ruby/1.8/facter/ipaddress.rb: wrong number of arguments (2 for 1) Could not load /usr/lib/ruby/site_ruby/1.8/facter/uptime.rb: uninitialized constant Facter::Util Could not load /usr/lib/ruby/site_ruby/1.8/facter/macosx.rb: uninitialized constant Facter::Util Could not load /usr/lib/ruby/site_ruby/1.8/facter/hostname.rb: wrong number of arguments (2 for 1) Could not load /usr/lib/ruby/site_ruby/1.8/facter/network.rb: uninitialized constant Facter::Util Could not load /usr/lib/ruby/site_ruby/1.8/facter/interfaces.rb: uninitialized constant Facter::Util Could not load /usr/lib/ruby/site_ruby/1.8/facter/ipaddress.rb: wrong number of arguments (2 for 1) Could not load /usr/lib/ruby/site_ruby/1.8/facter/uptime.rb: uninitialized constant Facter::Util Could not load /usr/lib/ruby/site_ruby/1.8/facter/macosx.rb: uninitialized constant Facter::Util err: Could not retrieve catalog: uninitialized constant Facter::Util I got all packages from epel repos (el5-x86_64): # rpm -qa|grep facter facter-1.5.5-1.el5 # rpm -qa|grep puppet puppet-0.24.8-1.el5.1 # rpm -qa|grep augeas augeas-libs-0.5.2-1.el5 ruby-augeas-0.2.0-1.el5 augeas-0.5.2-1.el5 the only facter avaliable is: http://download.fedora.redhat.com/pub/epel/5/x86_64/repoview/facter.html anyone could tell me if my versions are incompatible? TIA, Arnau --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Hi Arnau, I have not seen that error before and have many EL5 installs. -L -- Larry Ludwig Reductive Labs --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On Mon, 24 Aug 2009 09:52:02 -0400 Larry Ludwig wrote:> > Hi Arnau,Hi Larry,> I have not seen that error before and have many EL5 installs.I found the source of problem. I had to exclude facter from dag repo, if not, I have 2 facters installed, 1.5.5 and 1.3.7... and seems that 1.3.7 is the one that keeps its files, so if you remove that old package, its files do not disappear as they also belong to facter 1.5.5...> -L >Thanks for your reply, Arnau --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
2009/8/24 Arnau Bria <arnaubria@pic.es>:> On Mon, 24 Aug 2009 09:52:02 -0400 > Larry Ludwig wrote:>> I have not seen that error before and have many EL5 installs. > I found the source of problem. > > I had to exclude facter from dag repo, if not, I have 2 facters > installed, 1.5.5 and 1.3.7... and seems that 1.3.7 is the one that > keeps its files, so if you remove that old package, its files do not > disappear as they also belong to facter 1.5.5...Odd as 1.5.5 should win in EVR comparison and yum should do the right thing. It may be as the DAG package is arch specific whereas EPEL is noarch with later versions of RHEL/Centos and fedora where ruby abi is installed. %define has_ruby_abi 0%{?fedora} || 0%{?rhel} >= 5 What is the output if you do yum install facter on a clean install of EL5 with both repos enabled? Paul --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On Mon, 24 Aug 2009 09:17:09 -0500 Paul Nasrat wrote:> Odd as 1.5.5 should win in EVR comparison and yum should do the right > thing. > > It may be as the DAG package is arch specific whereas EPEL is noarch > with later versions of RHEL/Centos and fedora where ruby abi is > installed. > > %define has_ruby_abi 0%{?fedora} || 0%{?rhel} >= 5 > > What is the output if you do yum install facter on a clean install of > EL5 with both repos enabled?I do not use dag/epel. Only dag and local repo with puppet+dependencies... Mybe it''s confusing yum? # rpm -qa|grep facter # # yum clean all Loading "kernel-module" plugin Cleaning up Everything # yum list facter* Loading "kernel-module" plugin Available Packages facter.x86_64 1.3.7-1.el5.rf dag facter.noarch 1.5.5-1.el5 puppet-local-rep # yum install facter Loading "kernel-module" plugin [repos] Setting up Install Process Parsing package install arguments Resolving Dependencies --> Running transaction check ---> Package facter.x86_64 0:1.3.7-1.el5.rf set to be updated --> Finished Dependency Resolution Beginning Kernel Module Plugin Finished Kernel Module Plugin Dependencies Resolved ============================================================================ Package Arch Version Repository Size ============================================================================Installing: facter x86_64 1.3.7-1.el5.rf dag 23 k Transaction Summary ============================================================================Install 1 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 23 k Does it help?> PaulCheers, Arnau --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---