On Fri, 10 Sep 2010 15:13:06 -0700
Nigel Kersten <[email protected]> wrote:

> On Fri, Sep 10, 2010 at 3:02 PM, Dan Urist <[email protected]> wrote:
> > Is it possible to have a sub-module that has its own files and
> > templates directories? For example, if I create a sub-module
> > base::logrotate with a template path like this:
> >
> >> base/logrotate/templates
> >
> > I've tried this, but when I try to access a template from my "base"
> > class with a relative URL like this
> >
> >> template("base/logrotate/logrotate.conf")
> 
> filesystem path: base/templates/logrotate/logrotate.conf
> works with
> template("base/logrotate/logrotate.conf")
> 
> Does that make more sense?

Yes! Thanks.


-- 
Dan Urist
[email protected]
303-497-2459

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to