On Oct 31, 2008, at 8:07 AM, Bryan Kearney wrote:
> I believe the only way for me to stop this is to actually run the
> commands once to see if there would be changes, and then run them
> again
> at execution time. I am sure that there would be a race condition
> between the collection and execution stage.
>
> James / Luke.. is there a way to communicate to puppet that I actually
> did not run.. or to disable the notify?
You'd need your 'insync' method to indicate that there's no change to
make.
There's no way to have Puppet run the 'sync' method but have it
conclude it didn't actually do any work, which is what I think you're
actually looking for. You need to query, compare, and only change if
necessary.
--
Zeilinger's Fundamental Law:
There is no Fundamental Law.
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---