Issue #2247 has been updated by Jo Rhett.

Brian: I have two distinct thoughts on what you are saying.

First, when you say "more puppet-like" please point at examples. You'll find 
that there aren't many resources that require a case option before them. Most 
things can be expressed simply.

But second, every use case I have for this would be handled with hiera options 
anyway so for real use I'm quite satisfied with what you propose.

I will note however that for it to work cross platform, we need both the 
package name and package version to able to be specified. It's package name 
'puppet' on CentOS but 'puppet3' on FreeBSD, and both of them have minor 
differences in the ensure version.

----------------------------------------
Feature #2247: enablerepo and disablerepo for yum type
https://projects.puppetlabs.com/issues/2247#change-99933

* Author: Ben -
* Status: Investigating
* Priority: Normal
* Assignee: Charlie Sharpsteen
* Category: package
* Target version: 3.x
* Affected Puppet version: 0.24.8
* Keywords: yum enablerepo customer
* Branch: https://github.com/puppetlabs/puppet/pull/1974
----------------------------------------
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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to