On Fri, Jul 2, 2010 at 6:31 PM, Jeff McCune <j...@puppetlabs.com> wrote: > On Thu, Jul 1, 2010 at 6:03 PM, Chuck <cssc...@gmail.com> wrote: >> Move the classes directory to >> >> /etc/puppet/modules/repo/manifests/classes >> > > With puppet 0.25.x, you should no longer need to use any import > statements at all. The autoloader will import the correct manifest > file so long as you follow the standard. > > A typical module for apache contains: > a class named apache > a class named apache::disable to disable the service > a defined type named apache::virtualhost to model a virtual host. > > In this module, if you use the following orginization puppet will > autoload everything: > > manifests/init.pp contains class apache { } > manifests/disable.pp contains class apache::disable inherits apache {} > manifests/virtualhost.pp contains define apache::virtualhost(){}
Really? Are you serious???. Why is puppet dictating to me that it will only autoload classes if I have a class named module::disable, module::virtualhost? Who's idea was that and why? This seems awfully arbitrary. 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-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.