Ensure purge_config takes a boolean value
The purge_config parameters only accept boolean values. This enforces that using the typed parameters. Change-Id: Id7f139b395e193635a673fe07b46baafe4a8772f
This commit is contained in:
@@ -246,7 +246,7 @@ class manila (
|
||||
$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,
|
||||
$host = $facts['os_service_default'],
|
||||
$report_interval = $facts['os_service_default'],
|
||||
$periodic_interval = $facts['os_service_default'],
|
||||
|
@@ -52,7 +52,7 @@ class manila::policy (
|
||||
$policy_path = '/etc/manila/policy.yaml',
|
||||
$policy_default_rule = $facts['os_service_default'],
|
||||
$policy_dirs = $facts['os_service_default'],
|
||||
$purge_config = false,
|
||||
Boolean $purge_config = false,
|
||||
) {
|
||||
|
||||
include manila::deps
|
||||
|
Reference in New Issue
Block a user