Ask Your Question

Why is installing from gems not recommended?

asked 2014-04-23 15:10:55 -0600

akraut gravatar image
edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2014-04-23 19:14:25 -0600

spuder gravatar image

Most likely this is a logistical rather than a technical recommendation. It is possible to install puppet from source or the gems and get the most up to date version, however that installation method does not scale.

When you have thousands of nodes, it is far easier to use pre built images, or RPM/deb packages to distribute puppet.

edit flag offensive delete link more

answered 2014-04-29 01:46:56 -0600

ramindk gravatar image

Adding to what spuder mentioned gems don't ship with config files, creating needed directories, or include init files. If you simply gem install Puppet you'll find it fairly painful to run without the supporting files.

The only time I have run Puppet from gem is on a master using Passenger/Apache (or similar setup) as a server. Passenger/Apache configs deal with starting/stopping and a some configuration. This has allowed us to test different Ruby and Puppet combinations with tools like RVM.

edit flag offensive delete link more

answered 2014-04-29 03:19:12 -0600

cisco gravatar image

I'm relatively new to puppet, but personally I've solved some of my problems by installing puppet from gem, all of those relative to modules having dependencies with gems not being found with puppet installed from puppetlabs repositories

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

1 follower


Asked: 2014-04-23 15:10:55 -0600

Seen: 107 times

Last updated: Apr 29 '14