Udo Waechter wrote:
> Would it be possible to rewrite "defined" such that it is not dependent 
> on the parse order of manifest?
> 
> As I understand puppet, this is not easily achievable. I am not sure, 
> though.

Making defined() (and other parse-order dependent stuff) parse-order 
independent would require a complete rework of the way puppet evaluates 
manifests, so that it can solve complex logical problems, like what 
should happen when two parts of a configuration depend on each other? 
Without proof, I believe that a general solution for that would be 
NP-hard (because it might be a SAT instance, 
http://en.wikipedia.org/wiki/Boolean_satisfiability_problem).




Regards, DavidS

--~--~---------~--~----~------------~-------~--~----~
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