Ensure purge_config takes a boolean value
The purge_config parameters only accept boolean values. This enforces that using the typed parameters. Change-Id: I9384da8c16c1c7f515c775f3c5b3d0e25f046323
This commit is contained in:
parent
f1f2036937
commit
1efa9bbff8
|
@ -212,7 +212,7 @@ class magnum(
|
|||
$amqp_sasl_config_name = $facts['os_service_default'],
|
||||
$amqp_username = $facts['os_service_default'],
|
||||
$amqp_password = $facts['os_service_default'],
|
||||
$purge_config = false,
|
||||
Boolean $purge_config = false,
|
||||
) {
|
||||
|
||||
include magnum::deps
|
||||
|
|
|
@ -52,7 +52,7 @@ class magnum::policy (
|
|||
$policy_path = '/etc/magnum/policy.yaml',
|
||||
$policy_default_rule = $facts['os_service_default'],
|
||||
$policy_dirs = $facts['os_service_default'],
|
||||
$purge_config = false,
|
||||
Boolean $purge_config = false,
|
||||
) {
|
||||
|
||||
include magnum::deps
|
||||
|
|
Loading…
Reference in New Issue