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(){} If you want additional namespaces, they go in directories. class apache::service::disable would go in manifests/service/disable.pp I highly recommend against using import today and in the future. Hope this helps, -- Jeff McCune http://www.puppetlabs.com/ -- 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.