Hi, Here''s the scenario :) 1. I have a config file stored on the puppet master. 2. When this file is updated I want it be sent to client(s). 3. Once this is done I want to run a script on the client. 1 & 2 I can do, 3. is proving to be a problem, suggestions anyone ? Regards, Andrew --~--~---------~--~----~------------~-------~--~----~ 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Hi> Here''s the scenario :) > > 1. I have a config file stored on the puppet master. > 2. When this file is updated I want it be sent to client(s). > 3. Once this is done I want to run a script on the client. > > 1 & 2 I can do, 3. is proving to be a problem, suggestions anyone ?file{''foobar'': notify => Exec[''script''], } exec{''script'': refreshonly => true, } see http://reductivelabs.com/trac/puppet/wiki/TypeReference#exec "refreshonly" for exactly the same example. greets pete --~--~---------~--~----~------------~-------~--~----~ 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---