Re: [Puppet Users] node inheritance, variable scope, and pain.

2010-05-10 Thread David Schmitt
On 5/6/2010 9:56 AM, Peter Meier wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I suspect we will turn 'node default' into 'class default', then include that rather than inheriting that, since that does fix the scope issue. this is imho the way to go if you don't want to switch over to

Re: [Puppet Users] node inheritance, variable scope, and pain.

2010-05-06 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > I suspect we will turn 'node default' into 'class default', then include that > rather than inheriting that, since that does fix the scope issue. this is imho the way to go if you don't want to switch over to an external node tool. For each node I

Re: [Puppet Users] node inheritance, variable scope, and pain.

2010-05-05 Thread Daniel Pittman
Russ Allbery writes: > Daniel Pittman writes: > >> It was, until yesterday, my naive expectation that this would work: > >> node default{ include broken } >> node "krosp" inherits "default" { $value = "not " } >> class broken{ notice("This is ${value}broken

Re: [Puppet Users] node inheritance, variable scope, and pain.

2010-05-05 Thread Russ Allbery
Daniel Pittman writes: > It was, until yesterday, my naive expectation that this would work: > node default{ include broken } > node "krosp" inherits "default" { $value = "not " } > class broken{ notice("This is ${value}broken") } > Specifically, I expect

[Puppet Users] node inheritance, variable scope, and pain.

2010-05-05 Thread Daniel Pittman
G'day. It was, until yesterday, my naive expectation that this would work: node default{ include broken } node "krosp" inherits "default" { $value = "not " } class broken{ notice("This is ${value}broken") } Specifically, I expected this would output 'This