Title: Message Title
Pamela Harrison commented on an issue
Puppet / Improvement PUP-1221
Mixed invocation of parameterized classes leads to order dependencies, should be disallowed
When a parameterized class has default values for all of its parameters, it may be invoked using either "include" or "class { ... }" notation. The "include" notation is idempotent; the "class { ... }" notation isn't. As a result, there is an order dependency. This works:

<pre>
class foo($param = defaultvalue) {
  notify { $param: }
}

class { f...

--
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/groups/opt_out.

Reply via email to