The Puppet agent runs are initiated on the agent side. There is no Puppet
master command that you can use to trigger an agent run.

If you want to do something like kick off multiple agent runs at the same
time or in a sequence, you can do that with Mcollective. Mcollective comes
with Puppet Enterprise, you could actually trigger the agent runs from the
PE console. Or if you're using open source Puppet you can install
Mcollective separately and use the mco command to start agent runs. There's
an Mcollective plugin you need installed to be able to control the agents.

There are other orchestration tools that you could use for this sort of
thing besides Mcollective, like Fabric or Ansible. You would just have them
run the same command you would run to start the agent.

Also once you have a signed cert you don't need to use waitforcert. You can
just run "puppet agent -t" on the agent host.



Rich



On Friday, July 4, 2014, Satish Katuru <satishkat...@gmail.com> wrote:

> Hi,
>
> My init.pp has 4 nodes and I want to control all these 4 nodes from the
> Master.I mean to say how to deploy the code in all the nodes from Master?
>
> If I execute Puppet agent -t --waitforcert=60 on Agent machine it reads
> init.pp on Master and deploy the code in Agent.
> But I can't run this on each and every node.So how to do it?
>
> Do we have any other command to run it from Master?
>
> Regards,
> Sathish.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to puppet-users+unsubscr...@googlegroups.com
> <javascript:_e(%7B%7D,'cvml','puppet-users%2bunsubscr...@googlegroups.com');>
> .
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/4dbe8930-0499-4a57-87c3-5a12b54bdbec%40googlegroups.com
> <https://groups.google.com/d/msgid/puppet-users/4dbe8930-0499-4a57-87c3-5a12b54bdbec%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAPGcbtDpZ9KEdE_JqbN23Yxw7r_D777tEy0PpCNN7g2oSsys%2BA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to