voxpupuli / puppet-yum

Puppet module for Yum
https://forge.puppet.com/puppet/yum
MIT License
16 stars 101 forks source link

Avoid assumption that package_provider is set #255

Closed traylenator closed 2 years ago

traylenator commented 2 years ago

Pull Request (PR) description

With the changes in https://github.com/voxpupuli/puppet-yum/pull/253 yum::versionlock was failing for cases where $facts['package_provider] was unset which is typically the case for rspec compilations.

Default yum::versionlock::path to the existing yum location.

bastelfreak commented 2 years ago

thanks for the fix!