[Puppet Users] Re: language trouble with metaparameters

2008-10-16 Thread Justin Williams
This is exactly the kind of info that I was once hunting for a month or two ago. The ability to have one class depend upon another, or to have one class depend upon an another type, is huge, and simplifies so much for me! Thank you!!! On Thu, Oct 16, 2008 at 11:36 AM, Teyo Tyree <[EMAIL PROTECTED

[Puppet Users] Re: language trouble with metaparameters

2008-10-16 Thread Teyo Tyree
Justin Williams wrote: > That is perfect! Thank you! > > So, if I have: > Class A for basic stuff > Class B for system specific stuff > and Class C for other stuff that has to happen after classes A & B, > then, if I have, say, file { "/foo/bar/snarfblatt": require => Class[" > B"], etc; } in cla

[Puppet Users] Re: language trouble with metaparameters

2008-10-16 Thread Justin Williams
That is perfect! Thank you! So, if I have: Class A for basic stuff Class B for system specific stuff and Class C for other stuff that has to happen after classes A & B, then, if I have, say, file { "/foo/bar/snarfblatt": require => Class[" B"], etc; } in class C And then require File["/foo/bar/sn

[Puppet Users] Re: language trouble with metaparameters

2008-10-16 Thread Teyo Tyree
Hey Zoniguana, zoniguana wrote: > I'm probably being dense here, but > > Is if possible to include a class, onlyif a given file exists? > If not, can I put an onlyif in all the file/cron/service/etc > statements, so that they are only executed once that file is put in > place (I.e. only run ph

[Puppet Users] Re: language trouble with metaparameters

2008-10-16 Thread Marcin Owsiany
On Thu, Oct 16, 2008 at 07:16:39AM -0700, zoniguana wrote: > Is if possible to include a class, onlyif a given file exists? Currently not, this is bug http://projects.reductivelabs.com/issues/show/651 on which I'm going to start work Really Soon Now (tm). -- Marcin Owsiany <[EMAIL PROTECTED]>