can a puppet run tell puppet master to run puppet on other host based on previous events (e.g. new host)?

32 views
Skip to first unread message

Alex Leonhardt

unread,
Jun 14, 2014, 9:46:38 AM6/14/14
to puppet...@googlegroups.com
hi,

to ease orchestration and changes to systems with dynamic configurations / e.g. configure load balancer based on how many webs are known to puppet / I was wondering if it's possible to make a puppet master trigger puppet runs on e.g. the load balancers *after* it got told there is a new host that got class 'web' applied ?

in particular am looking for someting like saltstacks salt-reactor w/ salt-mine system

thanks!
alex

Cristian Falcas

unread,
Jun 14, 2014, 4:15:59 PM6/14/14
to puppet...@googlegroups.com
No.

Maybe you can do it if you have a script that monitors a puppetdb? But this is not what you are asking, so the answer will be no.

The master is involved only on giving the ENC data and doing the catalog compilation.

Cristi Falcas



--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/5c9348f8-aeb1-4c10-9ccd-a70618f3c761%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ken Barber

unread,
Jun 16, 2014, 9:38:57 AM6/16/14
to Puppet Users
Alex,

The more complete idea would be to trigger when resources have
actually been applied. So I would probably consider a report listener
for this kind of thing, as it shows when a resource has changed rather
than compiled.

I think Chris Spence has a tool for this kind of thing that uses MCO
to trigger the runs:

https://github.com/fiddyspence/puppet-mconotify

ken.
> https://groups.google.com/d/msgid/puppet-users/CAMo7R_dXQxkZ31reRGO03O960voihCL7P7mtkqZzbjRXJw5uOg%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages