Ensure purge_config takes a boolean value
The purge_config parameters only accept boolean values. This enforces that using the typed parameters. Change-Id: I1c48571be9068aa428bba38d99956a0f534888b9
This commit is contained in:
parent
fd5058341b
commit
5e9c6de5aa
@ -223,7 +223,7 @@ class aodh (
|
||||
$notification_transport_url = $facts['os_service_default'],
|
||||
$notification_driver = $facts['os_service_default'],
|
||||
$notification_topics = $facts['os_service_default'],
|
||||
$purge_config = false,
|
||||
Boolean $purge_config = false,
|
||||
) inherits aodh::params {
|
||||
|
||||
include aodh::deps
|
||||
|
@ -52,7 +52,7 @@ class aodh::policy (
|
||||
$policy_path = '/etc/aodh/policy.yaml',
|
||||
$policy_default_rule = $facts['os_service_default'],
|
||||
$policy_dirs = $facts['os_service_default'],
|
||||
$purge_config = false,
|
||||
Boolean $purge_config = false,
|
||||
) {
|
||||
|
||||
include aodh::deps
|
||||
|
Loading…
Reference in New Issue
Block a user