On 11/13, Luke Kanies wrote: > On Nov 12, 2009, at 11:58 AM, Jason Lavoie wrote: > > Shouldn't the "Skipping because of failed dependencies" in the output > > below be absolute? Why is puppet still refreshing the Service[dep] > > (in the very next log line)? Am I misunderstanding how the > > dependencies > > should work? > > The short answer (as I put on the ticket) is that this is behaving as > designed, because otherwise you're running in an inconsistent state.
That makes sense. Thanks for the definitive answer. > The easy fix here is to not have the service depend on the file, but > rather only on the exec - the exec subscribes to the file, the service > subscribes to the exec. If the exec fails, nothing happens, if it > succeeds you're all good. Yes, but the exec runs every time. If I then add refreshonly=>true to the exec, puppet still refreshes the service when the exec fails. -j -- Jason Lavoie Ratvarre sbe uver ja...@oasys.net --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---