On Thu, 2008-10-02 at 11:31 -0500, Luke Kanies wrote:
> In the meantime, though, scoped variables should get you pretty close:
>
> #manifests/init.pp
> class mymod {
>$foo = "important stuff
> }
>
> #manifests/other.pp
> class mymod::other {
>$other = "even more ${foo}"
> }
Isn't that m
On Oct 3, 2008, at 1:04 PM, David Lutterkort wrote:
>
> On Thu, 2008-10-02 at 11:31 -0500, Luke Kanies wrote:
>> In the meantime, though, scoped variables should get you pretty
>> close:
>>
>> #manifests/init.pp
>> class mymod {
>> $foo = "important stuff
>> }
>>
>> #manifests/other.pp
>> cla
On Sep 29, 2008, at 12:45 PM, Felix Schäfer wrote:
>
> Hello,
>
> Am 29.09.2008 um 18:40 schrieb Marc Fournier:
>
>> I have a bunch of variables that are used in several classes and
>> definitions, all part of the same module.
>>
>> As these variables are defined automatically based on system fac
Hello,
> > I have a bunch of variables that are used in several classes and
> > definitions, all part of the same module.
> >
> > As these variables are defined automatically based on system facts,
> > I would like to avoid having to declare them in each node that uses
> > classes or definitions
Hello,
Am 29.09.2008 um 18:40 schrieb Marc Fournier:
> I have a bunch of variables that are used in several classes and
> definitions, all part of the same module.
>
> As these variables are defined automatically based on system facts, I
> would like to avoid having to declare them in each node