Hi all,
when we recently fixed a regression that had to do with directory
environments and ENC (PUP-3258) I noticed that the handling is weird
when the ENC actually picks an environment for the local machine.
As far as I can tell, puppet apply ignored that until now. The apply
command used the co
Hi,
this type of question would be better suited for the puppet-users list.
The problem is that variable values *cannot* be overridden. You just
replace its value in the scope of the inheriting class. Only resources
can be overridden, so that is what you must do.
class generic {
$message = '
I want to write the following structure:
class CLASSA {
$ = "AAA"
notify {$:}
}
class ClassB inherits CLASSA {
$ = "BBB"
}
Summoning of nodes
class {ClassB:}
expect to see a BBB notifah but Puppet hard shoves
Note: AAA
Note: / Stage [main] / Classa / Notify [AAA] / message: defined b