Issue #18534 has been updated by Ryan Coleman.

Assignee set to eric sorenson

The Puppet Module Tool does have a `list` action that will give you information 
about all the modules it finds in the modulepath(s) configured in puppet.conf 
and allows you to specify a list of modulepaths that you wish to inspect. While 
obviously this doesn't provide pro-active warnings, it is a built in tool that 
can help an administrator determine what's installed. 

I think this ticket ought to be closed. Passing to eric0 for review.

----------------------------------------
Bug #18534: Warn when multiple versions of the same module are available in the 
modulepath
https://projects.puppetlabs.com/issues/18534#change-94523

* Author: Josh Cooper
* Status: Needs Decision
* Priority: Normal
* Assignee: eric sorenson
* Category: 
* Target version: 
* Affected Puppet version: 
* Keywords: 
* Branch: 
----------------------------------------
The module tool tries to prevent multiple versions of the same module from 
being installed. But there are lots of ways that you can end up in that state, 
such as by installing a module using a specific modulepath (puppet module 
install --modulepath dirA)

Then if the master is configured to use multiple modulepaths, 
modulepath=dirA:dirB, you can easily end up with multiple versions of the same 
module. This can cause unexpected breakage if the version in dirA is 
incompatible with respect to the one in dirB, especially when the module, e.g. 
stdlib, is a dependency shared by multiple modules.. See #18525.

One simple thing to assist debugging this situation would be to issue a warning 
on the master if there are multiple versions of the same module accessible in 
its modulepath.


-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to