Issue #20922 has been updated by Arces Networks.
Just as i mentioned earlier, maybe it would be a good idea to add parameter
like “package” to explicitly define package name? This will give one ability to
install pagages with same name from different providers, and overcoming
puppet's limitation on same resources. In this case, issue described above
could look like this:
<pre>
package { "gearman":
ensure => 'present'
}
package { "python-gearman-libs":
package => 'gearman'
provider => 'pip',
ensure => 'present',
}
</pre>
----------------------------------------
Feature #20922: Duplicate package names from different providers
https://projects.puppetlabs.com/issues/20922#change-91999
* 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.