Ensure purge_config takes a boolean value
The purge_config parameters only accept boolean values. This enforces that using the typed parameters. Change-Id: Ie504006737f094704bbff8499ac9ddbb9e8f75f5
This commit is contained in:
parent
a9d4fb7df1
commit
69c1e88fd1
@ -91,7 +91,7 @@ class zaqar(
|
||||
$management_store = 'mongodb',
|
||||
$package_name = $::zaqar::params::package_name,
|
||||
$package_ensure = 'present',
|
||||
$purge_config = false,
|
||||
Boolean $purge_config = false,
|
||||
) inherits zaqar::params {
|
||||
|
||||
include zaqar::deps
|
||||
|
@ -52,7 +52,7 @@ class zaqar::policy (
|
||||
$policy_path = '/etc/zaqar/policy.yaml',
|
||||
$policy_default_rule = $facts['os_service_default'],
|
||||
$policy_dirs = $facts['os_service_default'],
|
||||
$purge_config = false,
|
||||
Boolean $purge_config = false,
|
||||
) {
|
||||
|
||||
include zaqar::deps
|
||||
|
Loading…
Reference in New Issue
Block a user