Issue #22096 has been reported by Robert Pearce.

----------------------------------------
Feature #22096: ability to namespace forge modules
https://projects.puppetlabs.com/issues/22096

* Author: Robert Pearce
* Status: Unreviewed
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* Affected Puppet version: 
* Keywords: 
* Branch: 
----------------------------------------
Currently if you want to use modules from the forge you need to ensure the 
module name and all its dependencies don't clash with your own in-house 
modules. This makes the using forge modules next to useless for users with 
large numbers of modules unless they've already uniquely prefixed their own 
module names, which they may well not have done.

It would be much better if it were possible to namespace the modules by module 
directory location, in much the same way as puppet:/// works for file location 
paths from multiple file mountpoints.

In this way, you could do import forgemodules//iptables (or something similar) 
and not have it clash with a module of your own called iptables. Otherwise 
you're completely at the mercy of forge module names not clashing. This would 
mean you could have one module dir which is a checkout of your CVS/SVN/git 
repo, and one which is populated with forge modules which you wish to use, 
without clashing names constantly.

The other workaround, going back and retrospectively prefixing all module names 
is a *lot* of work for any reasonably sized puppet usage, when you allow for 
hiera lookups and such.


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