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