On Fri, 3 Dec 2010 07:21:33 -0800
Nigel Kersten wrote:

> On Fri, Dec 3, 2010 at 7:15 AM, Arnau Bria <arnaub...@pic.es> wrote:
> > On Fri, 3 Dec 2010 12:55:38 +0100
> > Arnau Bria wrote:
> >
> >> Hi all,
> >> modulepath=/etc/puppet/manifests/modules:/etc/puppet/manifests/modules/common:/etc/puppet/manifests/services/workernode/modules/
> >                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >
> >
> > this is wrong. /modules/common overwrites /modules and modules not
> > under /modules/common are not visible.
> 
> Wrong how?  I'm unsure how we behave when you specify two overlapping
> locations:

from my tests, if:
 
> /etc/puppet/manifests/modules/my_module1
> /etc/puppet/manifests/modules/common/my_module2

my_module1 is not seen  and gives the error about missing classes. But
my_module2 works fine.

 
> but the bit you've underlined isn't necessarily wrong. We absolutely
> support multiple modulepaths separated by ":".
yes...
and  for that reason,
if /etc/puppet/manifests/services/workernode/modules/my_moudle3 exists,
my_module3 is seen.

> I would suggest avoiding the overlapping filesystem locations and see
> if that resolves the issue.
that's exactly what I've done.

maybe my explanation was really short and confusing :-)
 
> >
> > Cheers,
> > Arnau
cheers,
Arnau

-- 
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