Issue #20922 has been updated by Charlie Sharpsteen.

Tracker changed from Bug to Feature
Category set to package
Status changed from Unreviewed to Needs Decision
Assignee set to Andrew Parker

Re-classifying as a feature as the [resource 
documentation](http://docs.puppetlabs.com/puppet/3/reference/lang_resources.html#namenamevar)
 states that namevars must be unique per resource type.

The design decision on this one is tricky, on one hand you have package 
providers such as dpkg and apt or rpm and yum that definitely need to share 
unique namevars. On the other hand there are providers such as gem and pip that 
may operate in a separate ecosystem from the system package manager. But then, 
sometimes these ecosystems aren't entirely separate and running `pip install 
<foo>` may end up trying to manage some of the same files as running `apt-get 
install <foo>`.

----------------------------------------
Feature #20922: Duplicate package names from different providers
https://projects.puppetlabs.com/issues/20922#change-91770

* Author: Arces Networks
* Status: Needs Decision
* Priority: Normal
* Assignee: Andrew Parker
* Category: package
* Target version: 
* Affected Puppet version: 3.1.1
* Keywords: package
* Branch: 
----------------------------------------
In case if someone uses different providers to install packages, last ones 
might have same names. For example: in ubuntu you have apt package for gearman 
server named "gearman" as well as pip package named "gearman" that provides 
python libraries to deal with gearman server.

In current example there was a workaround (gearman apt package is an empty 
package that depends on "jearman-job-server", "gearman-tools" and 
"gearman-server" packages), however, there might be situations, where packages 
have exactly same name and no workaround is available.

Adding parameter "name" to definition doesn't make any good - puppet still uses 
value from "name" parameter as Package name.

Is there any way to overcome this issue in puppet? 

Maybe it would be a good idea to add parameter like "package" to explicitly 
define package name?


-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to