Ask Your Question
0

Upgrading Ruby

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

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
0

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

spuder gravatar image

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

https://docs.puppetlabs.com/puppet/la...

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

Comments

I would like to use: https://github.com/rodjek/librarian-puppet - 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 -0500 )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 -0500 )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

2 followers

Stats

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

Seen: 73 times

Last updated: Oct 29 '14