Issue #7928 has been reported by Felix Frank.
----------------------------------------
Bug #7928: Metaparameters are not expanded to resources inside defines
https://projects.puppetlabs.com/issues/7928
Author: Felix Frank
Status: Unreviewed
Priority: Normal
Assignee:
Category:
Target version:
Affected Puppet version:
Keywords: metaparameter, define, schedule, loglevel
Branch:
This is apparently a 2.6 regression. Consider the following manifest:
<pre>
define my_notify() { notify { $name: }}
schedule { "not-ever": period => "never" }
class schedule_test {
notify { "not supposed": schedule => "not-ever" }
my_notify { "not supposed either": schedule => "not-ever" }
}
class loglevel_test {
notify { "invisible": loglevel => "debug" }
my_notify { "invisible too": loglevel => "debug" }
}
include schedule_test
include loglevel_test
</pre>
It's not supposed to generate any notifies, ever, which holds true for 0.25.5.
With 2.6.8, it consistently displays both the wrapped notifies.
--
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.