On Mon, Sep 12, 2011 at 11:24 AM, Ken Barber <k...@puppetlabs.com> wrote: >> On Client: >> service puppet stop >> yum clean all >> rpm --erase puppet >> rpm --erase facter >> rm -fR /var/lib/puppet >> yum upgrade puppet >> >> On server: >> puppetca --clean hproxy11.h.foo.com >> >> On Client: >> service puppet start > > Where are the RPM's from that you are using for both 0.25.5 and 2.7.3? > I wonder if this can be replicated elsewhere ... what OS distribution > and version are you using? > > I still can't help but think you have some stray presence of 0.25.5 > somewhere. Can you check /usr/local for any traces of Puppet that may > have been manually installed at any point? Something like: > > find /usr/local -name '*puppet*'
service puppet stop rpm --erase puppet rpm --erase facter rm -fR /var/lib/puppet find /usr/local -name "*puppet*" (yeilds nothing) > > Now the fact gets the puppet version from Puppet::PUPPETVERSION ... so > can you grep this from your ruby path? > > cd /usr/lib/ruby (or lib64?) > grep -r 'PUPPETVERSION' * After reinstalling puppet 2.7.3 again... [root@hproxy11 ruby]# cd /usr/lib64/ruby [root@hproxy11 ruby]# grep -r 'PUPPETVERSION' * [root@hproxy11 ruby]# cd /usr/lib/ruby [root@hproxy11 ruby]# grep -r 'PUPPETVERSION' * site_ruby/1.8/facter/puppetversion.rb: Puppet::PUPPETVERSION.to_s site_ruby/1.8/puppet/face/help/global.erb:Puppet v<%= Puppet::PUPPETVERSION %> site_ruby/1.8/puppet.rb: PUPPETVERSION = '2.7.3' site_ruby/1.8/puppet.rb: PUPPETVERSION [root@hproxy11 ruby]# Looks like 2.7.3... > > You should really only get something like: > > root@node1:/usr/lib/ruby/1.8# grep -r 'PUPPETVERSION' * > 1.8/puppet/face/help/global.erb:Puppet v<%= Puppet::PUPPETVERSION %> > 1.8/puppet.rb: PUPPETVERSION = '2.7.1' > 1.8/puppet.rb: PUPPETVERSION > root@node1:/usr/lib/ruby# > > But obviously 2.7.3 not 2.7.1. Also check your environment variable RUBYLIB: > > echo $RUBYLIB [root@hproxy11 ruby]# echo $RUBYLIB [root@hproxy11 ruby]# > > And show us the result ... repeating the grep for PUPPETVERSION in any > path specified there as well. Since RUBYLIB was empty... Doug -- 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.