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 <doug.garst...@gmail.com> writes:

> 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/LanguageTutorial says:
>
> "Like resources, you can also create relationships with classes like so:
>
> class apache {
>    service { "apache": require => Class["squid"] }
> }
> The above uses the require metaparameter to make the apache class
> dependent on the squid class."
>
> What does that mean? Does that mean that the squid class has to be
> just available, or FULLY implemented and completed before the apache
> class???
>
> Three days and I am still dicking around with dependancy hell.
>
> Doug.
>
> 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to