----- Original Message ----- > Hey there, > > If you're going through all that, and are trying to get a purge-able > directory of resources, would you find it easier to declare the > /etc/yum.repos.d directory with purge => true, and then declare your > repos as file declarations? An exec of 'yum -makecache' set to > refreshonly => true could be notified by each file resource. > > Does that help get what you need?
I've tried something along these lines and at least on 2.6.x if you just remove repo files mid run the yum provider gets quite unhappy, logs about missing files etc. having this provider support an ensure => absent option rather than just something that sets enable=0 in the repo would be really nice -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.