Ensure purge_config takes a boolean value
The purge_config parameters only accept boolean values. This enforces that using the typed parameters. Change-Id: I4b156ed71c9ce982e07b9d1fee53cf2562dc7340
This commit is contained in:
parent
c0576f554f
commit
533955f2d1
@ -175,7 +175,7 @@ class mistral(
|
||||
$kombu_ssl_version = $facts['os_service_default'],
|
||||
$kombu_reconnect_delay = $facts['os_service_default'],
|
||||
$amqp_durable_queues = $facts['os_service_default'],
|
||||
$purge_config = false,
|
||||
Boolean $purge_config = false,
|
||||
Boolean $sync_db = true,
|
||||
$max_missed_heartbeats = $facts['os_service_default'],
|
||||
$check_interval = $facts['os_service_default'],
|
||||
|
@ -52,7 +52,7 @@ class mistral::policy (
|
||||
$policy_path = '/etc/mistral/policy.yaml',
|
||||
$policy_default_rule = $facts['os_service_default'],
|
||||
$policy_dirs = $facts['os_service_default'],
|
||||
$purge_config = false,
|
||||
Boolean $purge_config = false,
|
||||
) {
|
||||
|
||||
include mistral::deps
|
||||
|
Loading…
Reference in New Issue
Block a user