On 19/12/11 16:36, Chris Blumentritt wrote:
> I have an error that I do not understand.  I get a duplicate
> definition and I am not sure why: http://pastie.org/3041278
>
> if I change line 27 in that paste from class { 'passenger': } to
> include passenger, there is not an error but the passenger class (it
> is a module) is not evaluated.
>
> Does having module foo that contains a class, foo:bar::baz and then
> including another module named, baz cause this?
>
> I tested with puppet 2.7.9, 2.7.8 and 2.7.3
>

Basically, yes. It's all to do with how unqualified variables are resolved.

Try "class { '::passenger': }" instead to qualify the class as being in
the root scope.

HTH

Dan


-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@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