Issue #4257 has been updated by Peter Meier.

I'll test http://github.com/MarkusQ/puppet/tree/ticket/master/4257
----------------------------------------
Bug #4257: include ::foo is not working anymore
http://projects.puppetlabs.com/issues/4257

Author: Peter Meier
Status: Ready for Testing
Priority: High
Assigned to: Markus Roberts
Category: 
Target version: 2.6.0
Affected version: 2.6.0rc3
Keywords: 
Branch: MarkusQ:ticket/master/4257


The following class setup fails on 2.6:

<pre>
# cat foo.pp 
class some::module::test {
  include ::test
  file{'/tmp/a': }
}
class test {
  notice("test")
}
include some::module::test
# puppet foo.pp
Duplicate definition: Class[Some::Module::Test] is already defined at 
/tmp/foo.pp:2 on node foo.bar.ch
</pre>

As @::test@ should fix the lookup root, this will break various modules that 
pull in other modules they then configure. Like 
http://git.puppet.immerda.ch/?p=module-git.git;a=blob;f=manifests/web/lighttpd.pp;h=9534c60db4a7af674e814eac16ca052efc3c9c4b;hb=a1b5d4209109b1c3fae9e7b80a1b22bcf3d5211d


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" 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-bugs?hl=en.

Reply via email to