Ask Your Question
1

puppet on ubuntu : install best practices

asked 2013-06-13 20:58:10 -0500

BaltoStar gravatar image

updated 2013-06-13 23:42:30 -0500

What are best practices for open-source Puppet Master/Agent on Ubuntu ?

  1. Ubuntu 12.04.2 LTS

  2. Ruby 2.0.0-p195

  3. "gem install puppet" ( by default will pull latest version = 3.2.1 )

Any problems with the above ?

edit retag flag offensive close merge delete

4 Answers

Sort by ยป oldest newest most voted
1

answered 2013-06-13 22:23:11 -0500

llowder gravatar image

Use the Puppetlabs repo, and install from packages if at all possible.

You can find instructions on how to add the repo here. raring is not listed on this page, but there is a repo for it.

Then refer to the install instructions, though a basic apt-get install puppetmaster will be enough to get you going.

Gems can work, but they are harder to upgrade, and generally recommend only when packages are not available.

I have heard some reports that the repo doesn't yet have all the packages for raring, but the 12.04 packages will work. that being ... (more)

edit flag offensive delete link more

Comments

actually just found out our ops guys only support Ubuntu 12.04.2 LTS

BaltoStar gravatar imageBaltoStar ( 2013-06-13 23:45:51 -0500 )edit

Use the Puppetlabs repo. I've done several installs on Ubuntu 12.04. I'm sure Lee's link has detailed instructions, but here's the nutshell version. `wget http ...(more)

Ancillas gravatar imageAncillas ( 2013-06-14 13:51:21 -0500 )edit
1

answered 2013-06-18 12:39:27 -0500

nickc gravatar image

I haven't had any issues with basic setups (in VMs) with the Puppet Labs apt repo and Ubuntu 13.04 so far. The 12.04 packages (and the dependent versions of Ruby they automatically install along with Puppet) work just fine.

edit flag offensive delete link more
0

answered 2013-06-13 22:55:24 -0500

ramindk gravatar image

Puppet hasn't had much testing with Ruby 2.0 yet. I'd expect problems with it.

Personally I'd install the ruby1.8 packages and then use the Puppetlabs packages for Quantal which should be close enough. Worst case you can pull the src debs and rebuild on Raring yourself.

edit flag offensive delete link more

Comments

actually just found out our ops guys only support Ubuntu 12.04.2 LTS - i assume that just reinforces the case for Ruby1.8 ?

BaltoStar gravatar imageBaltoStar ( 2013-06-13 23:45:42 -0500 )edit

Not sure why you're trying to mess around with odd versions of Ruby and gem installing Puppet. Install the puppetlabs repo and when you install Puppet it'll pull ...(more)

ramindk gravatar imageramindk ( 2013-06-14 00:49:00 -0500 )edit

so you agree with the answer below ? just do "apt-get install puppetmaster" or "apt-get install puppet"

BaltoStar gravatar imageBaltoStar ( 2013-06-14 04:30:25 -0500 )edit

if you want to install Puppet from Puppetlabs onto 12.04. Because PL does not have 13.04 packages yet, that's not going to work. So it depends entirely ...(more)

ramindk gravatar imageramindk ( 2013-06-14 11:47:24 -0500 )edit

ok sounds like i made an easy problem into a difficult one. actually just one good way to do it : apt-get install puppetmaster onto Ubuntu 12.04.2 LTS Server

BaltoStar gravatar imageBaltoStar ( 2013-06-14 12:48:50 -0500 )edit
0

answered 2013-06-14 15:41:32 -0500

tex gravatar image

I'd always recommend sticking with the vendor packages first. Only if you have serious reasons for not using them I'd move to the puppetlabs apt repos.

Ubuntu 12.04 ships with a very well useable version of puppet. You may want to upgrade your puppet master to 3.x but you can still stick with 2.x for the agents.

edit flag offensive delete link more

Comments

I seem to recall it was recommended not to mix versions with client and master... But I couldn't find a reference just now.

counterbeing gravatar imagecounterbeing ( 2013-07-05 14:17:15 -0500 )edit

So apt-get installs the Ubuntu 12.04 LTS vendor packages , correct ? But if I do need a later version, what is recommended upgrade path to install latest versions of puppet ...(more)

BaltoStar gravatar imageBaltoStar ( 2013-07-08 12:38: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: 2013-06-13 20:58:10 -0500

Seen: 2,175 times

Last updated: Jun 18 '13