On Thu, Mar 12, 2009 at 11:36:23AM +0000, Keith Edmunds wrote:
> 
> > You can depend on a class:
> > 
> >      require => Class[thatclass],
> >      before => Class[thatotherclass]
> 
> But can I cause a module (or class) to depend on a class? If so, I can't
> find the correct syntax. 

If you want a class to be evaluated, all you need to is include it.
What more do you need?

I'm still banging my head against puppet's idea of what a class is (as
opposed to the OO concept) but one thing puppet has no problem with is
making sure that one thing is evaluated before another.  Whatever you
are trying to do with inclusion, importing or inheritance or some
combination of those.

-- 
Bruce

I object to intellect without discipline.  I object to power without
constructive purpose. -- Spock

--~--~---------~--~----~------------~-------~--~----~
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