Re: [Puppet Users] Re: if( defined( Class["software::mongodb"] ) ) throws an error

2011-01-21 Thread Felix Frank
> Your input (and everybody else's) is greatly appreciated. Hi, I've just given your wiki page a quick read-through. I can see how this idea can benefit yourself, but I'm somewhat doubtful that this is going to fly for many other people. Speaking only for myself, even if I were facing this probl

[Puppet Users] Re: if( defined( Class["software::mongodb"] ) ) throws an error

2011-01-20 Thread MJ
Hey Trevor, Thanks for the reply. This thread is way off topic from the original problem which has been resolved. Just to clarify for anyone running into the same problem, the issue was simply the syntax I was using. I was checking if a class was defined like this: defined( Class["class::su

[Puppet Users] Re: if( defined( Class["software::mongodb"] ) ) throws an error

2011-01-20 Thread MJ
> Hum, I get the feeling there is more than just this removal scenario > that's bugging you. However, there are rather elegant solutions in the > DSL for that, so I'll elaborate on this and maybe inspire you to some > other approaches that may help with other problems as well. You are correct, the

Re: [Puppet Users] Re: if( defined( Class["software::mongodb"] ) ) throws an error

2011-01-20 Thread Felix Frank
On 01/19/2011 11:34 PM, MJ wrote: >> Interesting construct. Why do you need to go so meta? Usually, instead >> of building a framework for packages/services/... that you specify in >> some external scheme that you make up, you just write a classes for each >> such set in puppet DSL in the first pla

[Puppet Users] Re: if( defined( Class["software::mongodb"] ) ) throws an error

2011-01-19 Thread MJ
On Jan 19, 12:58 am, Felix Frank wrote: > On 01/19/2011 12:39 AM, MJ wrote: > > > I'm suspect it is one of the "subtle and strange" behavoir.  I suppose > > I should have just posted a link to the code in git hub.  I guess I > > was expecting that this would be something that was going to jump o

Re: [Puppet Users] Re: if( defined( Class["software::mongodb"] ) ) throws an error

2011-01-19 Thread Felix Frank
On 01/19/2011 12:39 AM, MJ wrote: > I'm suspect it is one of the "subtle and strange" behavoir. I suppose > I should have just posted a link to the code in git hub. I guess I > was expecting that this would be something that was going to jump out > as something obvious. My apologies for not doin

[Puppet Users] Re: if( defined( Class["software::mongodb"] ) ) throws an error

2011-01-18 Thread MJ
I'm suspect it is one of the "subtle and strange" behavoir. I suppose I should have just posted a link to the code in git hub. I guess I was expecting that this would be something that was going to jump out as something obvious. My apologies for not doing so. Here is the link: https://github.c