Ask Your Question

Running puppet on multiple agents (=machines)

asked 2018-07-17 05:57:01 -0600

Dan1 gravatar image

Hi guys,

How can I run puppet master command on multiple nodes (=agents)?

This is the situation: we have a lot of servers in the company and I would like to run a command which will update all of them (when I say 'update', I mean a deploy process -> copying files, stop/start service, etc...)

For example, this command: puppet agent -t --environment production -l c:\Puppet_logs\log.log will run on multiple machines (=agents) in parallel.

I guess this is the purpose of puppet (to run a deploy script on multiple servers).

How can I do it? :)

For now, I manged to run puppet only on one machine (which is an agent)

thanks a lot.

edit retag flag offensive close merge delete



At the risk of incurring the wrath of the Puppet community: Ansible will do nicely. The log file to "C:" implies that you're using Windows so I don't know if SSH keys are an option for you. Ansible will let you decide how many parallel connections you want. I use both Puppet and Ansible at my job

bschonecker gravatar imagebschonecker ( 2018-07-17 07:27:58 -0600 )edit

Similar to ansible, 'puppet tasks' in PE, or 'bolt' is puppets current offering in that space. w.r.t. mcollective, there has been some good work on it lately to add in NATS based communication instead of the traditional heavy message broker.

DarylW gravatar imageDarylW ( 2018-07-17 08:50:50 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-07-23 09:07:57 -0600

reesek gravatar image

Have you looked at Puppet Orchestrator?

edit flag offensive delete link more


Orchestrator is only available for PE, so if the OP is using Opensource Puppet, it may not work for them.

DarylW gravatar imageDarylW ( 2018-07-23 13:14:46 -0600 )edit

Indeed - I suppose it should have been called out specifically as PE only

reesek gravatar imagereesek ( 2018-07-23 14:19:34 -0600 )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

1 follower


Asked: 2018-07-17 05:57:01 -0600

Seen: 168 times

Last updated: Jul 23