On 10/30/14 4:43 AM, JonY wrote:
Would like to upgrade Ruby to the latest. To make everything on my
puppet server happy I need to remove the Ruby 1.8.7 that YUM installed.

When I run 'yum erase ruby' it looks like it will also remove puppet,
puppetdb, and so on. If I follow through with this:

- will a reinstall of puppet and puppetdb use the upgraded ruby?

No, the packages expect the version of Ruby they were built against. I don't believe Puppetdb cares about Ruby, it's a Clojure application.

- will they behave like they do now? (reasonably well)

No. https://docs.puppetlabs.com/puppet/latest/reference/system_requirements.html#ruby

It's never a good idea to replace system Ruby. If you need a different version install it into opt and point your local applications at it or use rvm/rbenv in a role account.

It is possible to run your Passenger 4.x based Puppet master under a Ruby installed via one of the methods above, but it's complicated. I don't recommend it unless you're very comfortable with the Passenger, Rack, rvm, Ruby, gem ecosystem.

Ramin

--
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/54527442.1070408%40badapple.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to