From 210560d01876793a620d9b3d1dbe9e226b912908 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Thu, 22 Apr 2021 09:24:23 +0900 Subject: [PATCH] Make SkipRhelEnforcement boolean The SkipRhelEnforcement parameter is supposed to take boolean value, thus should be typed as boolean so that its type is validated as part of template validations. Change-Id: If93deb5c522f541de69ff6fc5e23a83fd42b625a --- .../tripleo-packages/tripleo-packages-baremetal-puppet.yaml | 6 +++--- deployment/undercloud/undercloud-upgrade.yaml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/deployment/tripleo-packages/tripleo-packages-baremetal-puppet.yaml b/deployment/tripleo-packages/tripleo-packages-baremetal-puppet.yaml index fcc251977a..c985eb1fd6 100644 --- a/deployment/tripleo-packages/tripleo-packages-baremetal-puppet.yaml +++ b/deployment/tripleo-packages/tripleo-packages-baremetal-puppet.yaml @@ -85,15 +85,15 @@ parameters: environment files. default: '' SkipPackageUpdate: - default: 'false' + default: false description: Set to true to skip the update all packages type: boolean SkipRhelEnforcement: - default: "false" + default: false description: Whether to avoid or not RHEL/OSP policies enforcement on Red Hat. Mainly for CI purpose. It shouldn't matter on other distributions where it's disabled in the role. Set to true to skip the enforcement. - type: string + type: boolean DnfStreams: default: [] description: List of streams to be configured before updating packages. Each list diff --git a/deployment/undercloud/undercloud-upgrade.yaml b/deployment/undercloud/undercloud-upgrade.yaml index 8f3f568398..53fef5e82c 100644 --- a/deployment/undercloud/undercloud-upgrade.yaml +++ b/deployment/undercloud/undercloud-upgrade.yaml @@ -28,11 +28,11 @@ parameters: via parameter_defaults in the resource registry. type: json SkipRhelEnforcement: - default: 'false' + default: false description: Whether to avoid or not RHEL/OSP policies enforcement on Red Hat. Mainly for CI purpose. It shouldn't matter on other distributions where it's disabled in the role. Set to true to skip the enforcement. - type: string + type: boolean DnfStreams: default: [] description: List of streams to be configured before updating packages. Each list