yes i have *.pp in my site.pp file but adding include foo1 fixed the
issue.
On Jul 1, 3:02 pm, brijesh wrote:
> thanks
> that worked i didn't realise i need to include it first.
>
> Brijesh
>
> On Jul 1, 1:18 pm, vagn scott wrote:
>
> > you also have to have a
>
> > include foo1
>
> > somewhe
thanks
that worked i didn't realise i need to include it first.
Brijesh
On Jul 1, 1:18 pm, vagn scott wrote:
> you also have to have a
>
> include foo1
>
> somewhere.
>
> Note that your require is a dependency,
> not an instantiation. require just says
> that foo1 has to be installed first,
>
seph wrote:
> I've been assuming it's a typo, and means that the apache *service*
> depends on the squid class. I'd love to know how to make a class depend
> on another class.
>
I use this all the time in 0.24.8. You just put
require => Class["whatever"]
on your resource in the dependent
hello,
- "seph" wrote:
> I've been assuming it's a typo, and means that the apache *service*
> depends on the squid class. I'd love to know how to make a class
> depend
> on another class.
On 0.25.1 and later you can do 'require classname' instead of 'include
classname' in the cases whe
I've been assuming it's a typo, and means that the apache *service*
depends on the squid class. I'd love to know how to make a class depend
on another class.
seph
Douglas Garstang writes:
> Can someone tell me what a require => Class actually does? The
> documentation on this really isn't clea
Darn iPhone. Requiring a class will make puppet consider an entire
class of resources a dependency. So in the example you quoted, the
squid class would be executed before the apache service.
It allows abstraction over requiring individual resources, that's all.
Sent from my iPhone
On 25 Oct
Require => Class will me
Sent from my iPhone
On 25 Oct 2009, at 06:59, Douglas Garstang
wrote:
>
> Can someone tell me what a require => Class actually does? The
> documentation on this really isn't clear.
>
> The language tutorial at
> http://reductivelabs.com/trac/puppet/wiki/LanguageTutor
On Mon, May 18, 2009 at 9:30 AM, paul matthews
wrote:
> Hi Evan,
>
> Within the class that has the dependency, I would imagine it is as case of
> adding:-
>
> require => Class["classname"],
>
> Paul
>
> 2009/5/13 Evan Hisey
>>
>> Okay, I know this has been addressed before but I can not find it.
Hi Evan,
Within the class that has the dependency, I would imagine it is as case of
adding:-
require => Class["classname"],
Paul
2009/5/13 Evan Hisey
>
> Okay, I know this has been addressed before but I can not find it. I
> have module setup to handle all my Yum repos. This module works well