Re: [Puppet Users] Re: autoloading modules
On Fri, 3 Dec 2010 07:59:55 -0800 Nigel Kersten wrote: [...] > I think we're saying exactly the same thing, so either that, or I fail > at reading comprehension :) we're saying the same thing. your comprehension is fine, my English not :-) > > 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.
Re: [Puppet Users] Re: autoloading modules
On Fri, Dec 3, 2010 at 7:38 AM, Arnau Bria wrote: > On Fri, 3 Dec 2010 07:21:33 -0800 > Nigel Kersten wrote: > >> On Fri, Dec 3, 2010 at 7:15 AM, Arnau Bria 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 :-) I think we're saying exactly the same thing, so either that, or I fail at reading comprehension :) > >> > >> > 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. > > -- Nigel Kersten - Puppet Labs - 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.
Re: [Puppet Users] Re: autoloading modules
On Fri, 3 Dec 2010 07:21:33 -0800 Nigel Kersten wrote: > On Fri, Dec 3, 2010 at 7:15 AM, Arnau Bria 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.
Re: [Puppet Users] Re: autoloading modules
On Fri, Dec 3, 2010 at 7:15 AM, Arnau Bria 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: /etc/puppet/manifests/modules /etc/puppet/manifests/modules/common but the bit you've underlined isn't necessarily wrong. We absolutely support multiple modulepaths separated by ":". I would suggest avoiding the overlapping filesystem locations and see if that resolves the issue. > > 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. > > -- Nigel Kersten - Puppet Labs - 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.
[Puppet Users] Re: autoloading modules
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. 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.