Another mechanism. You can use mcollective and this resource to trigger mco calls inside puppet:
https://github.com/ripienaar/puppet-mcollective The resource acts like an exec ... and can be refreshed and notified. For example: file {"/tmp/foo1": # content => "foo", content => inline_template("<%= Time.now %>"), notify => Mcollective["test1"], } mcollective {"test1": agent => "service", action => "restart", arguments => { "service" => "rsyslog", }, identity_filter => ["puppet1"], disctimeout => 3, timeout => 10, refreshonly => true, } Just make an mcollective plugin for adding new clients on your master and trigger it this way. ken. On Fri, Jun 24, 2011 at 3:18 PM, Andreas Kuntzagk <andreas.kuntz...@mdc-berlin.de> wrote: > Daniel Maher wrote: >> >> On 06/24/2011 03:39 PM, Andreas Kuntzagk wrote: >> >>>> Exported resources are the Puppet means for one node to provide >>>> resources for another. In this case, the execution host could export >>>> an Exec resource for the master to collect and apply. >>> >>> Hmm, in the (very short) time I've been working with puppet I have not >>> stumbled across exported resources. Any pointer where I should start >>> reading? >> >> Exported resources are great fun. :) >> >> http://docs.puppetlabs.com/guides/exported_resources.html >> http://projects.puppetlabs.com/projects/1/wiki/Using_Stored_Configuration > > According to these exported resources are somewhat similar to virtual > resources. Problem is until now I cannot wrap my brain arount virtual > resources so I don't understand the exported resources examples. > > regards, Andreas > > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > 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 post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.