Re: [Puppet-dev] Overriding inheritance variables. How to make a redefinition of variable inheritance class?

2014-10-06 Thread Олег Сиденко
$message = 'specific' > Notify['test'] { message => $message } # <- override > } > > Replacing the variable locally is fairly pointless. > > class specific inherits generic { > Notify['test'] { message => 'specific&

[Puppet-dev] Overriding inheritance variables. How to make a redefinition of variable inheritance class?

2014-10-05 Thread Олег Сиденко
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