CentOS: Do not set manage_virt

... because now the parameter is set according to the OS version.

Depends-on: https://review.opendev.org/838522
Change-Id: Id58379a7414ac9f9e75c7e20d4bc28d71af74cbd
This commit is contained in:
Takashi Kajinami 2022-04-20 08:24:27 +09:00
parent 858a015876
commit 2c0ab87e08

View File

@ -50,10 +50,8 @@ class openstack_integration::repos {
# Set specific variables for CentOS Stream 9
if $::os['release']['major'] >= '9' {
$powertools_repo = 'crb'
$manage_virt = false
} else {
$powertools_repo = 'powertools'
$manage_virt = true
}
if defined('$::centos_mirror_host') and $::centos_mirror_host != '' {
$centos_mirror = $::centos_mirror_host
@ -76,7 +74,6 @@ class openstack_integration::repos {
class { 'openstack_extras::repo::redhat::redhat':
manage_rdo => false,
manage_epel => false,
manage_virt => $manage_virt,
centos_mirror_url => $centos_mirror,
repo_source_hash => {
'delorean.repo' => $delorean_repo,