Re: [Puppet Users] scope of default values

2011-05-02 Thread Felix Frank
On 05/02/2011 09:28 AM, Andreas Kuntzagk wrote: > Hi, > >>> Since I also have many nfsmounts and want to make sure that the >>> mountpoint >>> exist, I'd like to use require. Is there a way I can reference the >>> name of >>> the mountpoint in the require? Like so. >>> >>> mount {"test2": >>>

Re: [Puppet Users] scope of default values

2011-05-02 Thread Andreas Kuntzagk
Hi, Since I also have many nfsmounts and want to make sure that the mountpoint exist, I'd like to use require. Is there a way I can reference the name of the mountpoint in the require? Like so. mount {"test2": device => "server1:/test2", require => File[$name] } If you have

Re: [Puppet Users] scope of default values

2011-04-29 Thread Nan Liu
On Fri, Apr 29, 2011 at 7:27 AM, Andreas Kuntzagk wrote: > Hi, > > I'm still quite new to puppet so forgive me if I ask stupid questions or use > wrong terminology. > > I have default values for mount defined inside a class. Are these defaults > only valid for mounts of this class or for all? > >

[Puppet Users] scope of default values

2011-04-29 Thread Andreas Kuntzagk
Hi, I'm still quite new to puppet so forgive me if I ask stupid questions or use wrong terminology. I have default values for mount defined inside a class. Are these defaults only valid for mounts of this class or for all? class test { Mount { fstype => "nfs4", } mount{