voxpupuli / puppet-yum

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

Allow arch aarch64 in yum::versionlock #239

Closed traylenator closed 2 years ago

traylenator commented 2 years ago

This Pull Request (PR) fixes the following issues

Add aarch64 as a possible for architecture of a versionlock.

Currently

yum::versionlock{['glog','glog-devel']:
  ensure  => present,
  version => '0.3.5',
  release => '4.el8',
  arch    => 'aarch64'
}

fails despite:

rpm -q --queryformat '%{name} %{version} %{release} %{arch}\n' glog
glog 0.3.5 4.el8 aarch64
traylenator commented 2 years ago

While you should be able to get away with the default arch => '*' you can't due a a bug in DNF.