> I can't speak to the original poster's goal, but actually implementing
> something that lets me declare what the current state is, really does
> require testing what the current state is. Which, presumably, is why the
> exec type already supports "onlyif" and "unless". Extending those to
> other things doesn't seem crazy. And as it stands, several things I do
> basically come down to syntactic sugar around an exec.

in my opinion it's far beyond "syntactic sugar around an exec".

Your right onlyif is part of the way how to evaluate the state of one  
single resource, but a condition in the manifest is a decision whether  
to manage certain resource(s) at all. This is a decision which is done  
by the master, however the state of one single resource is evaluated  
by the client.

cheers 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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to