Title: Message Title
Henrik Lindberg commented on an issue
Puppet / New Feature PUP-1089
Integrated variable checking for defines and parameterized classes.
I would like the ability to, in the puppet language, check variables being passed to a class or define for validity.

This can currently be done by throwing a ParseError from a template, but that is quite syntactically heavy.

Current Case:

<pre>
define foo ( $bar ) {
  inline_template("<% if not ['true','false'].include?(bar) then raise Puppet::...

--
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.

Reply via email to