Re: [Puppet Users] Variable Scope in classes

2010-06-20 Thread Gabriel Filion
On 2010-06-20 14:55, Douglas Garstang wrote: > I think I have a misunderstanding of variable scope in classes. > > Wy isn't tfel4_ClusterDbType set in the elements::tfel4::elements > class? It's set in elements::tfel4::defaults but then goes *poof* when > elements::tfel4::elements tries to access

[Puppet Users] Variable Scope in classes

2010-06-20 Thread Douglas Garstang
I think I have a misunderstanding of variable scope in classes. Wy isn't tfel4_ClusterDbType set in the elements::tfel4::elements class? It's set in elements::tfel4::defaults but then goes *poof* when elements::tfel4::elements tries to access it. class elements::tfel4::defaults { if ( !$tfel4