Ensure purge_config takes a boolean value

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

Change-Id: Ia5ecf568545d11a10cd35f064af85e43136ce838
This commit is contained in:
Takashi Kajinami 2023-07-18 00:50:29 +09:00
parent 1e4ff9bb99
commit 2e76bee998
2 changed files with 2 additions and 2 deletions

View File

@ -270,7 +270,7 @@ class cloudkitty(
$rpc_response_timeout = $facts['os_service_default'],
$control_exchange = $facts['os_service_default'],
$notification_transport_url = $facts['os_service_default'],
$purge_config = false,
Boolean $purge_config = false,
$auth_strategy = 'keystone',
$api_paste_config = $facts['os_service_default'],
$host = $facts['os_service_default'],

View File

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