Ask Your Question

decided to use Puppet, but how could I install puppet on more than 300 machines?

asked 2014-08-20 20:28:42 -0600

Dove gravatar image

Hi guys, our company decided to use puppet, but we have 300 more machines. Does it mean we have to install puppet on each of the machine manually? Is there a easy way to deploy puppet?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2014-08-21 10:04:25 -0600

llowder gravatar image

It will need to be installed on each node, but it can be automated.

If you are using Puppet Enterprise, just need to run curl -k https://<master hostname>:8140/packages/current/install.bash | sudo bash on each node.

If Puppet Open Source, just need to add the repo ( for example, $ sudo rpm -ivh if on RHEL6 or a derivative or $ wget && sudo dpkg -i puppetlabs-release-precise.deb && sudo apt-get update if you are on Ubuntu 12) then instal the puppet package using apt or yum. You can find more detailed instructions here.

With both of these methods, the actual automation would come from mostly likely, ssh and a for loop.

For new nodes, you would add the package installation to your provisioning process.

edit flag offensive delete link more


Thanks for your reply. But is there a way to deploy puppet-agent on 300 more runing machines if I m not using Puppet Enterprise

Dove gravatar imageDove ( 2014-08-21 12:49:20 -0600 )edit

As I mentioned in the answer - you'd use ssh and a for loop to add the repo and then install the package. You can also use things like pssh or fabric.

llowder gravatar imagellowder ( 2014-08-22 07:21:27 -0600 )edit

answered 2014-08-21 12:17:07 -0600

Paolo gravatar image

Instead of setting up an SSH in a for loop you can use PSSH ( ). I think it will greatly simplify (and shorten times) the installation onf 300 systems.

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


Asked: 2014-08-20 20:28:42 -0600

Seen: 71 times

Last updated: Aug 21 '14