Ask Your Question

Upgrading Ruby

asked 2014-10-29 10:36:46 -0600

tek0011 gravatar image

I would like to upgrade Ruby from 1.8.7. > 2.1.4. - I can't seem to find any documentation regarding this with its coorelation to puppet. After the upgrade, my system no longer recognizes service puppetmaster status. Is there any information on how to upgrade Ruby on a already existing puppetmaster server?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-10-29 10:50:58 -0600

spuder gravatar image

According to the documentation, puppetlabs hasn't done much testing with ruby 2.1.x.

Seeing how puppet will run on even ruby 1.8, there is no real need to upgrade ruby system wide. RVM is considered the best way to upgrade ruby.

That said, upgrading ruby shouldn't affect the init script, unless perhaps you installed via ruby gems.

Try reinstalling puppet, also try running /etc/init.d/puppetmaster status

edit flag offensive delete link more


I would like to use: - It does work with Ruby 1.9 so I could try that instead of 2.1.4 I guess.

tek0011 gravatar imagetek0011 ( 2014-10-29 12:17:40 -0600 )edit

On my machines, I use the older version of librarian puppet `gem install librarian-puppet -v=1.0.3`

spuder gravatar imagespuder ( 2014-10-29 12:34:30 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2014-10-29 10:36:46 -0600

Seen: 161 times

Last updated: Oct 29 '14