I'm building modules for the various web services I manage and I'm
running into trouble in defining the dependencies.  For example, two
of my services require the same Apache module.  If I define the
package resource in both modules and then try to include them both on
a single node, I get a "Duplicate definition" error.  I can avoid this
by defining a class that just contains the single package definition
and including the class in both services, but that seems clunky.

I feel I must be missing an obvious solution...  Any recommendations?

you put the define in a class and include/require the class in your apache service class.

cheers pete

--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To post to this group, send email to puppet-us...@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