Issue #12687 has been updated by Stefan Schulte.
There actually is a feature request that addresses the problem by using an
ensure property: #9293. So you would be able to specify
<pre>
yumrepo { 'foo':
ensure => absent,
}
</pre>
to remove the repofile. I think this solution is better than overloading the
`enable` property for that task.
----------------------------------------
Bug #12687: RFE: yumrepo enabled absent removes repo file
https://projects.puppetlabs.com/issues/12687#change-55377
Author: Bill Tong
Status: Unreviewed
Priority: Normal
Assignee:
Category:
Target version:
Affected Puppet version:
Keywords:
Branch:
The documentation for "yumrepo" says:
"enabled
Whether this repository is enabled, as represented by a 0 or 1. Set this to
absent to remove it from the file completely. Valid values are absent. Values
can match /(0|1)/."
Could the behaviour be changed so that enabled => absent removes the file
instead?
--
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 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.