Remove base fedora repos as fedora-stable is enabled
https://review.openstack.org/#/c/577819/ enabled stable-base repo which includes all required packages for fedora. We don't need fedora base repos, so remove them after repos are configured. Change-Id: I280adf43e8a427b555a91d1f481ea3c0c5334370
This commit is contained in:
parent
1c18fdd72a
commit
5f3a715217
@ -73,6 +73,17 @@ class openstack_integration::repos {
|
|||||||
$enable_sig = false
|
$enable_sig = false
|
||||||
$enable_epel = true
|
$enable_epel = true
|
||||||
}
|
}
|
||||||
|
# Remove Fedora Base repos as stable-base repo is configured which includes
|
||||||
|
# all required packages
|
||||||
|
if $::operatingsystem == 'Fedora' {
|
||||||
|
tidy { 'delete-fedora-base-repos':
|
||||||
|
path => '/etc/yum.repos.d',
|
||||||
|
recurse => true,
|
||||||
|
matches => [ 'fedora*.repo' ],
|
||||||
|
rmdirs => false,
|
||||||
|
require => Class['::openstack_extras::repo::redhat::redhat'],
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
fail("Unsupported osfamily (${::osfamily})")
|
fail("Unsupported osfamily (${::osfamily})")
|
||||||
|
Loading…
Reference in New Issue
Block a user