Ensure purge_config takes a boolean value

The purge_config parameters only accept boolean values. This enforces
that using the typed parameters.

Change-Id: Iecf1322669c06feed46bbe02eaeee48b929fc000
This commit is contained in:
Takashi Kajinami 2023-07-18 00:53:51 +09:00
parent cda67444f9
commit 16bb17356e
2 changed files with 2 additions and 2 deletions

View File

@ -289,7 +289,7 @@ class heat(
$notification_topics = $facts['os_service_default'],
$enable_proxy_headers_parsing = $facts['os_service_default'],
$max_request_body_size = $facts['os_service_default'],
$purge_config = false,
Boolean $purge_config = false,
$auth_strategy = 'keystone',
$yaql_memory_quota = $facts['os_service_default'],
$yaql_limit_iterators = $facts['os_service_default'],

View File

@ -52,7 +52,7 @@ class heat::policy (
$policy_path = '/etc/heat/policy.yaml',
$policy_default_rule = $facts['os_service_default'],
$policy_dirs = $facts['os_service_default'],
$purge_config = false,
Boolean $purge_config = false,
) {
include heat::deps