Open TJM opened 4 years ago
I wonder if this could be achieved setting the
yum::plugin::versionlock::clean: true
Looking at https://github.com/voxpupuli/puppet-yum/blob/master/manifests/plugin/versionlock.pp#L7, if the default was 'true' instead of 'false', it looks like we would get the behavior that Tommy suggests.
oh yea. Why would it default to false? (shrug) Thanks for the pointer.
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
yum clean all
What are you seeing
What behaviour did you expect instead
Output log
(see above)
Any additional information you'd like to impart
I think any change to yum repos or versionlock should trigger a yum clean all (perhaps optionally?)