repos/redhat: install yum-plugin-priorities
yum-plugin-priorities package is needed when running RDO trunk packaging, repositories have priorities and we need to address them. Change-Id: I3ac207f744847b5742fc331d2c16d1dad475f9ea
This commit is contained in:
parent
fb85b43b29
commit
7f9a1cd09a
@ -76,6 +76,10 @@ class openstack_extras::repo::redhat::redhat(
|
||||
|
||||
anchor { 'openstack_extras_redhat': }
|
||||
|
||||
package { 'yum-plugin-priorities':
|
||||
ensure => 'present',
|
||||
}
|
||||
|
||||
if $manage_rdo {
|
||||
$release_cap = capitalize($release)
|
||||
|
||||
|
@ -61,6 +61,10 @@ describe 'openstack_extras::repo::redhat::redhat' do
|
||||
:notify => "Exec[yum_refresh]"
|
||||
)}
|
||||
|
||||
it { is_expected.to contain_package('yum-plugin-priorities').with(
|
||||
:ensure => 'present',
|
||||
)}
|
||||
|
||||
# 'metalink' property is supported from Puppet 3.5
|
||||
if Puppet.version.to_f >= 3.5
|
||||
it { is_expected.to contain_yumrepo('epel').with(
|
||||
|
Loading…
Reference in New Issue
Block a user