Is it possible to do something like this within the new scoping rules?
It seems that $::IMSPECIAL doesn't refer to the decl in node a. And
I can't use class parms as the variable is evaluated in a base class.
Suggestions? Currently using puppet 2.7.1
node a {
$IMSPECIAL=true
include foo
}
class bar {
if $IMSPECIAL {
notice("I'm special!")
}
}
class foo inherits bar {
// other stuff...
}
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" 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-users?hl=en.