Issue #13682 has been updated by Jeff McCune. Assignee deleted (Jeff McCune)
# Additional information # I know I said I thought this was actually my misunderstanding in another channel, but after spending some more time on the issue, we do have the conflict, just in Puppet::Module::Tool and not the global namespace like I originally thought. If you try and use the `puppet-module` tool instead of `puppet module` then Puppet will monkey patch the existing Gem implementation. Puppet re-opens the `Puppet::Module::Tool` module, causing this problem. ---------------------------------------- Bug #13682: Puppet should not conflict with released puppet-module Gem https://projects.puppetlabs.com/issues/13682#change-59789 Author: Jeff McCune Status: Unreviewed Priority: Normal Assignee: Category: compatibility Target version: 2.7.x Affected Puppet version: 2.7.12 Keywords: constants ARTIFACTS puppet-module REPOSITORY_URL namespace Branch: # Overview # The current behavior of Puppet 2.7.x (2.7.12-99-g8ceaaf0) declares some constants which conflicts with the already released puppet-module gem. Since the released gem requires Puppet, they fight with each other over these constants. # Impact data # All module authors are affected by this since they will need to do a knife-edge cut over from the existing module tool to Puppet 2.7.12, _or_ choose not to upgrade Puppet beyond 2.7.10. # Steps to reproduce # Use the existing puppet-module gem to build a package with Puppet 2.7.x. These conflicts become evident: <pre> /vagrant/src/puppet/lib/puppet/module_tool.rb:14: warning: already initialized constant ARTIFACTS /vagrant/src/puppet/lib/puppet/module_tool.rb:16: warning: already initialized constant REPOSITORY_URL </pre> I should be able to fix this quickly, so I'm assigning it to myself. -- 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.
