Ensure purge_config takes a boolean value
The purge_config parameters only accept boolean values. This enforces that using the typed parameters. Change-Id: I975452d2e0dfc65bbb2811181a2a1407d33286b9
This commit is contained in:
parent
0a9e188d30
commit
2ab021d060
@ -213,7 +213,7 @@
|
||||
# Daniel Pawlik <daniel.pawlik@corp.ovh.com>
|
||||
#
|
||||
class watcher (
|
||||
$purge_config = false,
|
||||
Boolean $purge_config = false,
|
||||
$use_ssl = false,
|
||||
$package_ensure = 'present',
|
||||
$rabbit_login_method = $facts['os_service_default'],
|
||||
|
@ -52,7 +52,7 @@ class watcher::policy (
|
||||
$policy_path = '/etc/watcher/policy.yaml',
|
||||
$policy_default_rule = $facts['os_service_default'],
|
||||
$policy_dirs = $facts['os_service_default'],
|
||||
$purge_config = false,
|
||||
Boolean $purge_config = false,
|
||||
) {
|
||||
|
||||
include watcher::deps
|
||||
|
Loading…
x
Reference in New Issue
Block a user