----- "Trevor Vaughan" <[email protected]> wrote: > Sorry if this has been covered before, but I couldn't find it in a > cursory search. > > If you have a module: > > /etc/puppet/modules/foo > > And you have a module: > > /etc/puppet/modules/bar/manifests/foo.pp > > Then all references to 'foo' within that namespace seem to scope down > to the local foo; is this correct? > > So, in /etc/puppet/modules/bar/manifests/baz.pp, if I have the line: > > include 'foo' > > Then it will always grab 'bar::foo', not 'foo' as I desire. > > Is this by design, or a defect?
By design I'd say, you can do: include ::foo to get the top level one. though there's a few points where the language blows up with this syntax so your milage might vary -- 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.
