Hmm..I didn't think about that.

That does indeed appear to work.

Most interesting.

Thanks!

Trevor

On Mon, May 17, 2010 at 5:47 PM, R.I.Pienaar <[email protected]> wrote:
>
> ----- "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.
>
>



-- 
Trevor Vaughan
Vice President, Onyx Point, Inc
(410) 541-6699
[email protected]

-- This account not approved for unencrypted proprietary information --

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