From 858c3d50e4c6a85c7bf5cddc638be7a2978e09e5 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Fri, 13 May 2022 20:49:11 +0900 Subject: [PATCH] Do not validate the deprecated parameter The watcher::api::watcher_client_password parameter was deprecated during Yoga cycle in favor of the new watcher::watcher_clients_auth class[1]. Thus the parameter should not be validated. [1] 16bcc44238bd018c527c87c4cd0542f5cadc5774 Closes-Bug: #1973316 Change-Id: Ied515e3ba52d9fb9bd96ea24149fa7f6c44db9c5 --- manifests/api.pp | 2 -- releasenotes/notes/bug-1973316-01c21c61c865b3b5.yaml | 5 +++++ 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 releasenotes/notes/bug-1973316-01c21c61c865b3b5.yaml diff --git a/manifests/api.pp b/manifests/api.pp index b5878f6..d1bd513 100644 --- a/manifests/api.pp +++ b/manifests/api.pp @@ -220,8 +220,6 @@ class watcher::api ( include watcher::keystone::authtoken } - validate_legacy(String, 'validate_string', $watcher_client_password) - package { 'watcher-api': ensure => $package_ensure, name => $::watcher::params::api_package_name, diff --git a/releasenotes/notes/bug-1973316-01c21c61c865b3b5.yaml b/releasenotes/notes/bug-1973316-01c21c61c865b3b5.yaml new file mode 100644 index 0000000..004351c --- /dev/null +++ b/releasenotes/notes/bug-1973316-01c21c61c865b3b5.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Validation of the deprecated ``watcher::api::watcher_client_password`` + parameter has been removed and the parameter is no longer required.