My question is, can I put a module named "httpd" in my common module directory, and then in specific environments have subclasses like "httpd::vhost1", "httpd::vhost2", etc? How will the module fileserving work?
The autoloader will not support having one module spread over two modulepaths like you want - it will stop at the first module, so if it finds httpd in /modulepath/1 it's never going to find httpd::vhost1 in /modulepath/2
Even if that did work it would be unwise and confusing. A better idea maybe to have a httpd class in your common module and then your vhosts in a separate class namespace (sites::vhost1)... that should work.
Regards Craig -- Craig Dunn Professional Services Puppet Labs Inc. http://www.puppetlabs.com -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
