Issue #21452 has been updated by Charlie Sharpsteen.

Status changed from Unreviewed to In Topic Branch Pending Review
Branch set to https://github.com/puppetlabs/puppet/pull/1728

Thanks for the pull request. I agree that having to add every option as a 
parameter to the type is a bit unwieldy. Managing the repo as a file may be a 
palatable option if a tool like Augeas is used to provide the necessary 
abstraction. Dominic Cleal has this planned for his augeasproviders module:

  <http://forge.puppetlabs.com/domcleal/augeasproviders>

Unfortunately, the implementation won't be possible until the yumrepo is 
properly split into a type and provider.

----------------------------------------
Feature #21452: Add s3_enabled option to the yumrepo type
https://projects.puppetlabs.com/issues/21452#change-93678

* Author: Dean Wilson
* Status: In Topic Branch Pending Review
* Priority: Normal
* Assignee: 
* Category: yumrepo
* Target version: 
* Affected Puppet version: 
* Keywords: 
* Branch: https://github.com/puppetlabs/puppet/pull/1728
----------------------------------------
We're using S3 backed yum repos in AWS via the yum-s3-iam plugin. We need to be 
able to set the s3_enabled option to use repos in this way.

I'm not amazingly keen on having an option added to the type for such a narrow 
use case but this seems to be the easiest of the options. I'm not even sure you 
can inherit from a type and I'm not keen on monkey patching yumrepo. The other 
approach is to manage those repos as files but I'd rather not have two ways of 
handling repos in our codebase.


-- 
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