Issue #2247 has been updated by Ben -.
Sorry Luke, I don't really understand your meaning.
My point in the original feature request was to allow the 'yum' provider to
have the "--enablerepo" option passed to it on a 'package' provider request it
a manifest.
So for example, "facter" and "puppet" appear in the "epel-testing" repo first
and may take weeks to make it into "epel". "epel-testing" is a disabled repo
by default due to the possibly unstable nature of packages contained in it.
However if i require "facter" from "epel-testing" presently i would either have
to do it manually on hundreds of systems (painful), write a 'exec' to handle it
(messy) or enable the "epel-testing" repo system wide (dangerous).
The original example would result is a yum command line like this:
yum -y --enablerepo=epel --enablerepo=epel-testing install facter
Which would allow for "facter" to be installed from "epel-testing" if the
latest version is available from there.
Another good example is the "dag" repo, it has 1000's of packages, some really
scary and some really useful, but the "dag" repo is not enabled by default.
package { "ocrad": ensure => installed, enablerepo => "dag", disablerepo =>
"rpmfusion" }
would result in
yum -y --enablerepo=dag --disablerepo=rpmfusion install ocrad
This would be a very useful feature for those of us on systems with 'yum' as
the package manager where enabling and disabling repo's is common practice.
----------------------------------------
Bug #2247: enablerepo and disablerepo for yum type
http://projects.reductivelabs.com/issues/2247
Author: Ben -
Status: Re-opened
Priority: Normal
Assigned to:
Category: package
Target version:
Complexity: Unknown
Affected version: 0.24.8
Keywords: yum
it would be nice to be able to enable a disabled repo for the installation on
one package.
for example installing facter from EPEL.
something like;
<pre>
package { "facter": ensure => installed, enablerepo => [ "epel", "epel-testing"
]; }
</pre>
--
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://reductivelabs.com/redmine/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
-~----------~----~----~----~------~----~------~--~---