Ensure purge_config takes a boolean value
The purge_config parameters only accept boolean values. This enforces that using the typed parameters. Change-Id: I82c9f4e6b7f407cdfb49fa8f804d233e0edc4fee
This commit is contained in:
parent
c4a7787501
commit
3510c49d64
|
@ -220,7 +220,7 @@ class vitrage (
|
|||
$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,
|
||||
$snapshots_interval = $facts['os_service_default'],
|
||||
$types = $facts['os_service_default'],
|
||||
) inherits vitrage::params {
|
||||
|
|
|
@ -52,7 +52,7 @@ class vitrage::policy (
|
|||
$policy_path = '/etc/vitrage/policy.yaml',
|
||||
$policy_default_rule = $facts['os_service_default'],
|
||||
$policy_dirs = $facts['os_service_default'],
|
||||
$purge_config = false,
|
||||
Boolean $purge_config = false,
|
||||
) {
|
||||
|
||||
include vitrage::deps
|
||||
|
|
Loading…
Reference in New Issue