Ask Your Question
2

Why is installing from gems not recommended?

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

akraut gravatar image
edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
2

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

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
1

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

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
0

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

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

Stats

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

Seen: 95 times

Last updated: Apr 29 '14