[Puppet-dev] How should apply behave under an ENC

2014-10-05 Thread Felix Frank
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

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

2014-10-05 Thread Felix Frank
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 = '

[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