Merge "Enable centos-release-opstools repo for centos-8" into stable/train

This commit is contained in:
Zuul 2020-05-14 02:52:21 +00:00 committed by Gerrit Code Review
commit d59eaa3285
1 changed files with 4 additions and 3 deletions

View File

@ -43,15 +43,16 @@ gpgcheck=0' >> /etc/yum.repos.d/opendaylight.repo
'epel-release'
] %}
{% if base_distro == 'centos' and base_distro_tag.startswith('8') %}
{% set base_centos_yum_repos_to_enable_append = ['HighAvailability'] %}
{% set base_centos_yum_repos_to_enable_append = [
'HighAvailability',
'centos-opstools'
] %}
{% set base_centos_yum_repos_to_disable_remove = ['influxdb'] %}
{% endif %}
{% if base_distro == 'centos' and base_distro_tag.startswith('7') %}
{% set base_centos_yum_repo_packages_append = [
'centos-release-opstools'
] %}
{% endif %}
{% set base_centos_binary_packages_remove = ['scsi-target-utils'] %}