I think this is a great addition, as it will simplify a lot the thinking 
about templates : no arbitrary side effects (like you have with arbitrary 
ruby code), and, more importantly, explicit parameters. This last feature 
is just great.

I am however wondering why this is so, as it seems like such a bad idea ?

"There is however no protection against users creating resources inside
> the template (nor if they do this via function calls to 
> `create_resources`).
> There is also no protection against realizing/collecting resources."


I also disagree with :

If someone chooses to use these questionable expressions inside a template, 
> there is no real harm;


But that's probably just a question of taste :)

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-dev/f8bc9dc3-0d00-43fb-8b74-e2f242b0ad0e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to