Issue #4655 has been updated by James Turnbull. Target version changed from 2.6.6 to 2.6.x
---------------------------------------- Bug #4655: Parametrized class ignores default metaparameter 'stage' https://projects.puppetlabs.com/issues/4655 Author: Frederik Wagner Status: Accepted Priority: High Assignee: Category: Target version: 2.6.x Affected Puppet version: 2.6.1 Keywords: staging, parametrized class Branch: It is not possible to set the 'stage' metaparameter with a default value in a class definition. A construct like the folllowing will run all resources in 'someclass' in Stage[main] anyway. stage{ pre: before => Stage[main] } class someclass ($stage=pre ) { ... } class { someclass: } Puppet will just issue the following warning, when running: warning: stage is a metaparam; this value will inherit to all contained resources This seem to me a major bug, since using default values for 'stage' is the only way to use the staging feature with external nodes as long there is no API for passing default parameters in the external nodes scripts. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
