Issue #2247 has been updated by Gary Wilson (@earthgecko).
Support Urls deleted (https://support.puppetlabs.com/tickets/1238)
Bradley Kreider wrote:
> Is there any easy way to patch this ourselves using puppet to push it out? I
> hate to have to keep relying on Fabric to install packages that should be
> managed by puppet.
It has been around for a while this, in a number of issue reports and reading
through them all, it is complicated it would appear, otherwise it would have
been done quite a long time ago I reckon.
In answer to your question, yes it can be, however not necessarily efficiently
and contrary to the once puppet mantra of "if you find something that you have
to exec let us know", but it does it effectively, albeit if inefficiently, exec.
<pre>
/usr/bin/yum --disablerepo=* --enablerepo=puppetlabs -y install puppet-server
</pre>
Example:
<pre>
exec { 'epel_puppetmaster_install':
command => '/usr/bin/yum --disablerepo=* --enablerepo=puppetlabs -y
install puppet-server',
creates => '/usr/sbin/puppetmasterd',
require => Class['epel_release', 'puppet', 'rubygems'],
before => Package['passenger'],
}
</pre>
----------------------------------------
Feature #2247: enablerepo and disablerepo for yum type
https://projects.puppetlabs.com/issues/2247#change-88077
* Author: Ben -
* Status: Accepted
* Priority: Normal
* Assignee: Charlie Sharpsteen
* Category: package
* Target version: 3.x
* Affected Puppet version: 0.24.8
* Keywords: yum enablerepo
* Branch:
https://github.com/nathannorton/puppet/tree/feature/master/2247-enablerepo
----------------------------------------
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://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.