On Friday, June 15, 2012 2:35:47 AM UTC-5, David Schmitt wrote: > > On 14.06.2012 21:29, Jo Rhett wrote: > > On Jun 14, 2012, at 8:51 AM, David Schmitt wrote: > >> When something changes the service has to be notified. > >> When the service should not be restarted, puppet should not be running > >> or the Service%restart parameter should be set to /bin/true. > > > > That's far too black/white for any real world scenario. Puppet not > > running just means it will catch it when it is, so that's not useful. > > And setting the restart parameter to bin/true would prevent content > > changes from restarting the process which defeats the purpose. > > > > You don't see any value in letting a service definition decide which > > things it cares to subscribe to -- like content, versus mode? > > No. I'm saying that either you need to manage (outside of puppet) when > your services restart OR you don't care when your services restart. > > In the first case I'd want to run puppet with --noop for > consequence-checking and only run it "hot" in a maintenance window. In > the second case the whole discussion is moot anyways. >
You could conceivably combine that general idea with tags, so as to apply only changes considered safe on most puppet runs, but allow everything to be applied together in maintenance windows. Getting the tags (only) in the right places could be tricky, and you would need to carefully weigh the consequences, but it should be possible to do what you want this way. John -- 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/-/xz6y7-MD8T8J. 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.