Re: [Puppet Users] how to trigger puppet run on agents remotely

Peter Brown
Mon, 05 Nov 2012 03:11:53 -0000

On 2 November 2012 00:00, Nishant Jain <nishant.citrix@gmail.com> wrote:

> @Pete, the puppet kick functionality is deprecated in puppet 3.0
>

Ahh yeah that''s right. Sorry. I have a vague memory of noticing that in
the
list of things that changed in 3.
I haven''t switched to 3 yet as I haven''t had the time to test
my modules
with it.

On Wednesday, October 31, 2012 9:32:25 PM UTC-4, Pete
wrote:
>>
>> On 1 November 2012 06:11, Andrei-Florian Staicu
<andrei...@gmail.com>wrote:
>>
>>> On Wed, Oct 31, 2012 at 8:57 PM, Nishant Jain
<nishant...@gmail.com>
>>> wrote:
>>> > Hello Everybody,
>>> >                           I am looking for a way to trigger
puppet rum
>>> > remotely. so that i don''t need to login into
individual nodes and
>>> perform
>>> > the puppet agent --test from there.
>>> > Is there any alternative to puppet kick in puppet 3.0, since
its being
>>> > deprecated in telly.
>>> > Also , can anybody tell how to configure foreman 1 to trigger
puppet
>>> run
>>> > from the gui in puppet 3.0
>>> > I have puppet 3.0 installed on RHEL 6.
>>> >
>>>
>>> My 50c: since mcollective is still fuzzy for me, i ended up using
pssh
>>> (with ssh keys, of course).
>>> Just pssh -h hostlist -i "puppet agent --test"
>>>
>>
>> It''s actually even easier than that.
>> puppet kick is what you want.
>> It does require the agent to start with listen turned on and your
>> firewall setup to allow tcp port 8139.
>> You can even kick multiple nodes at once.
>>
>> puppet help kick gives you all the docs on it.
>>
>>
>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Puppet Users" group.
>>> To post to this group, send email to puppet...@googlegroups.com.
>>> To unsubscribe from this group, send email to puppet-users...@**
>>> googlegroups.com.
>>>
>>> For more options, visit this group at http://groups.google.com/**
>>>
group/puppet-users?hl=en<http://groups.google.com/group/puppet-users?hl=en>
>>> .
>>>
>>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/puppet-users/-/rxY_p9yNJXQJ.