From 73ae3a60ac571cb0fca65952f86a56b18645bb80 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Mon, 13 Jun 2022 02:05:50 +0900 Subject: [PATCH] Remove deprecated manage_priorities ... because it was deprecated during Xena cycle[1]. [1] edf439e71c15a5f50f09957a48148e2c4357aa5a Change-Id: Ia680bdce8e548996f577e76dbf2823f2ddda5b25 --- manifests/repo/redhat/redhat.pp | 10 ---------- ...dhat-remove-manage_priorities-019ec005d1f98c46.yaml | 5 +++++ 2 files changed, 5 insertions(+), 10 deletions(-) create mode 100644 releasenotes/notes/repo-redhat-remove-manage_priorities-019ec005d1f98c46.yaml diff --git a/manifests/repo/redhat/redhat.pp b/manifests/repo/redhat/redhat.pp index 93525d2..cd14e23 100644 --- a/manifests/repo/redhat/redhat.pp +++ b/manifests/repo/redhat/redhat.pp @@ -68,11 +68,6 @@ # DEPRECATED PARAMS # ================= # -# [*manage_priorities*] -# (Optional) Whether to install yum-plugin-priorities package so -# 'priority' value in yumrepo will be effective. -# Defaults to undef -# # [*stream*] # (Optional) Is this CentOS Stream and should we adjust mirrors. # Defaults to undef @@ -97,7 +92,6 @@ class openstack_extras::repo::redhat::redhat ( $centos_mirror_url = $openstack_extras::repo::redhat::params::centos_mirror_url, $update_packages = false, # DEPRECATED PARAMS - $manage_priorities = undef, $stream = undef, $manage_virt = undef, ) inherits openstack_extras::repo::redhat::params { @@ -114,10 +108,6 @@ class openstack_extras::repo::redhat::redhat ( validate_legacy(Boolean, 'validate_bool', $package_require) validate_yum_hash($repo_hash) - if $manage_priorities != undef { - warning('openstack_extras::repo::redhat::redhat::manage_priorities parameter is deprecated and will be removed') - } - if $stream != undef { warning('The stream parmeter has been deprecated and has no effect.') } diff --git a/releasenotes/notes/repo-redhat-remove-manage_priorities-019ec005d1f98c46.yaml b/releasenotes/notes/repo-redhat-remove-manage_priorities-019ec005d1f98c46.yaml new file mode 100644 index 0000000..3bc3333 --- /dev/null +++ b/releasenotes/notes/repo-redhat-remove-manage_priorities-019ec005d1f98c46.yaml @@ -0,0 +1,5 @@ +--- +upgrade: + - | + The ``openstack_extras::repo::redhat::redhat::manage_priorities`` parameter + has been removed.