So how did you install Ruby 1.9.3? Did you create your own RPM or use something else? The RPM packages for puppet will have dependencies and then yum will try to satisfy them by looking in it's configured yum repositories. It usually tries to find the latest version. Looking at your output it looks like none of the Ruby dependencies were installed so yum find versions for you. For example these 2 are looking for a Ruby greater than 1.8 installed and a file called /usr/bin/ruby: --> Processing Dependency: ruby >= 1.8 for package: puppet-3.4.2-1.el6.noarch --> Processing Dependency: /usr/bin/ruby for package: puppet-3.4.2-1.el6.noarch
Since neither were found in the RPM DB it installed Ruby 1.8.7 for you. On Tue, Jan 21, 2014 at 1:14 PM, machete <[email protected]> wrote: > > > On Tuesday, January 21, 2014 3:13:49 PM UTC-5, machete wrote: >> >> The 1.8.7 ruby, rubygems and its gems were uninstalled. The root .gem and >> user .gem directories were also removed. I am hunting for what I am >> overlooking. >> >> I am now looking at using the yum package to install puppet. Listed below >> are the results of the package install. Notice it's trying to install 1.8.7, >> when my goal is to use the shiny 1.9.3 ... >> >> >> # sudo yum install puppetLoaded plugins: fastestmirror >> Loading mirror speeds from cached hostfile >> * base: mirrors-pa.sioru.com >> * epel: www.gtlib.gatech.edu >> * extras: www.gtlib.gatech.edu >> * rpmforge: mirror.us.leaseweb.net >> * updates: centos.icyboards.com >> puppetlabs-deps | 1.9 >> kB 00:00 >> puppetlabs-deps/primary_db | 21 >> kB 00:00 >> puppetlabs-products | 1.9 >> kB 00:00 >> puppetlabs-products/primary_db | 103 >> kB 00:00 >> Setting up Install Process >> Resolving Dependencies >> --> Running transaction check >> ---> Package puppet.noarch 0:3.4.2-1.el6 set to be updated >> --> Processing Dependency: ruby >= 1.8 for package: >> puppet-3.4.2-1.el6.noarch >> --> Processing Dependency: facter >= 1.6.11 for package: >> puppet-3.4.2-1.el6.noarch >> --> Processing Dependency: ruby-rgen >= 0.6.5 for package: >> puppet-3.4.2-1.el6.noarch >> --> Processing Dependency: ruby >= 1.8.7 for package: >> puppet-3.4.2-1.el6.noarch >> --> Processing Dependency: hiera >= 1.0.0 for package: >> puppet-3.4.2-1.el6.noarch >> --> Processing Dependency: ruby-augeas for package: >> puppet-3.4.2-1.el6.noarch >> --> Processing Dependency: /usr/bin/ruby for package: >> puppet-3.4.2-1.el6.noarch >> --> Processing Dependency: ruby-shadow for package: >> puppet-3.4.2-1.el6.noarch >> --> Running transaction check >> ---> Package facter.x86_64 1:1.7.4-1.el6 set to be updated >> --> Processing Dependency: virt-what for package: >> 1:facter-1.7.4-1.el6.x86_64 >> ---> Package hiera.noarch 0:1.3.0-1.el6 set to be updated >> --> Processing Dependency: rubygem-json for package: >> hiera-1.3.0-1.el6.noarch >> ---> Package ruby.x86_64 0:1.8.7.352-13.el6 set to be updated >> --> Processing Dependency: ruby-libs = 1.8.7.352-13.el6 for package: >> ruby-1.8.7.352-13.el6.x86_64 >> --> Processing Dependency: libruby.so.1.8()(64bit) for package: >> ruby-1.8.7.352-13.el6.x86_64 >> ---> Package ruby-augeas.x86_64 0:0.4.1-1.el6 set to be updated >> --> Processing Dependency: augeas-libs >= 0.8.0 for package: >> ruby-augeas-0.4.1-1.el6.x86_64 >> --> Processing Dependency: libaugeas.so.0(AUGEAS_0.12.0)(64bit) for >> package: ruby-augeas-0.4.1-1.el6.x86_64 >> ---> Package ruby-rgen.noarch 0:0.6.5-1.el6 set to be updated >> ---> Package ruby-shadow.x86_64 0:1.4.1-13.el6 set to be updated >> --> Running transaction check >> ---> Package augeas-libs.x86_64 0:1.0.0-5.el6_5.1 set to be updated >> ---> Package ruby-libs.x86_64 0:1.8.7.352-13.el6 set to be updated >> ---> Package rubygem-json.x86_64 0:1.5.5-1.el6 set to be updated >> --> Processing Dependency: rubygems for package: >> rubygem-json-1.5.5-1.el6.x86_64 >> ---> Package virt-what.x86_64 0:1.11-1.2.el6 set to be updated >> --> Running transaction check >> ---> Package rubygems.noarch 0:1.3.7-5.el6 set to be updated >> --> Processing Dependency: ruby-rdoc for package: >> rubygems-1.3.7-5.el6.noarch >> --> Running transaction check >> ---> Package ruby-rdoc.x86_64 0:1.8.7.352-13.el6 set to be updated >> --> Processing Dependency: ruby-irb = 1.8.7.352-13.el6 for package: >> ruby-rdoc-1.8.7.352-13.el6.x86_64 >> --> Running transaction check >> ---> Package ruby-irb.x86_64 0:1.8.7.352-13.el6 set to be updated >> --> Finished Dependency Resolution >> >> Dependencies Resolved >> >> >> ========================================================================================== >> Package Arch Version Repository >> Size >> >> ========================================================================================== >> Installing: >> puppet noarch 3.4.2-1.el6 >> puppetlabs-products 1.1 M >> Installing for dependencies: >> facter x86_64 1:1.7.4-1.el6 >> puppetlabs-products 87 k >> hiera noarch 1.3.0-1.el6 >> puppetlabs-products 23 k >> ruby x86_64 1.8.7.352-13.el6 updates >> 534 k >> ruby-augeas x86_64 0.4.1-1.el6 epel >> 21 k >> ruby-irb x86_64 1.8.7.352-13.el6 updates >> 314 k >> ruby-libs x86_64 1.8.7.352-13.el6 updates >> 1.6 M >> ruby-rdoc x86_64 1.8.7.352-13.el6 updates >> 377 k >> ruby-rgen noarch 0.6.5-1.el6 puppetlabs-deps >> 87 k >> ruby-shadow x86_64 1.4.1-13.el6 epel >> 11 k >> rubygem-json x86_64 1.5.5-1.el6 puppetlabs-deps >> 763 k >> rubygems noarch 1.3.7-5.el6 base >> 207 k >> virt-what x86_64 1.11-1.2.el6 base >> 24 k >> Updating for dependencies: >> augeas-libs x86_64 1.0.0-5.el6_5.1 updates >> 309 k >> ... >> >> >> >> here are the gem environment details... >> >> # gem environment >> RubyGems Environment: >> - RUBYGEMS VERSION: 1.8.23 >> - RUBY VERSION: 1.9.3 (2013-11-22 patchlevel 484) [x86_64-linux] >> - INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/1.9.1 >> - RUBY EXECUTABLE: /usr/local/bin/ruby >> - EXECUTABLE DIRECTORY: /usr/local/bin >> - RUBYGEMS PLATFORMS: >> - ruby >> - x86_64-linux >> - GEM PATHS: >> - /usr/local/lib/ruby/gems/1.9.1 >> - /root/.gem/ruby/1.9.1 >> - GEM CONFIGURATION: >> - :update_sources => true >> - :verbose => true >> - :benchmark => false >> - :backtrace => false >> - :bulk_threshold => 1000 >> - "gem" => "--no-ri --no-rdoc" >> - REMOTE SOURCES: >> - http://rubygems.org/ >> >> >> Any ideas what I am missing? >> >> I guess I should start looking for what puppet yum package install uses to >> figure out the ruby dependency? > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/206cc745-4d08-49e2-976b-ef6095126806%40googlegroups.com. > > For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAJNEtxvxM84EmB0XazwrUnrm7ZFarubOEhUtd2oeQ3hOBmhjig%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
