Issue #1023 has been updated by Peter Meier.
> This would've been trivial with a macro:
>
> define yumrepo(...) {
> file {"/etc/yum.repos.d/$name.repo":
> ...
> }
> }
as done here: http://git.puppet.immerda.ch/?p=module-yum.git
----------------------------------------
Feature #1023: yumrepo option to purge unmanaged repos
http://projects.puppetlabs.com/issues/1023
Author: Ben -
Status: Re-opened
Priority: Normal
Assigned to:
Category:
Target version:
Patch: None
Affected version: 0.24.8
Keywords:
Branch:
it would be nice if there was a way to purge any yum repo's that were not
managed by puppet.
<pre>
file { "/etc/yum.repos.d": ensure => directory, recurse => true, purge => true }
</pre>
a file type purge would work if the resulting repo file from a yumrepo type was
labeled as a file resource too.
--
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.