Ensure purge_config takes a boolean value
The purge_config parameters only accept boolean values. This enforces that using the typed parameters. Change-Id: I669f1a2ff2462d60afe2fbd0c33e607d20cb14fc
This commit is contained in:
parent
6e2515b4fd
commit
d459be69cd
@ -14,8 +14,8 @@
|
|||||||
# Defaults to false.
|
# Defaults to false.
|
||||||
#
|
#
|
||||||
class barbican(
|
class barbican(
|
||||||
$package_ensure = 'present',
|
$package_ensure = 'present',
|
||||||
$purge_config = false,
|
Boolean $purge_config = false,
|
||||||
) {
|
) {
|
||||||
|
|
||||||
include barbican::deps
|
include barbican::deps
|
||||||
|
@ -52,7 +52,7 @@ class barbican::policy (
|
|||||||
$policy_path = '/etc/barbican/policy.yaml',
|
$policy_path = '/etc/barbican/policy.yaml',
|
||||||
$policy_default_rule = $facts['os_service_default'],
|
$policy_default_rule = $facts['os_service_default'],
|
||||||
$policy_dirs = $facts['os_service_default'],
|
$policy_dirs = $facts['os_service_default'],
|
||||||
$purge_config = false,
|
Boolean $purge_config = false,
|
||||||
) {
|
) {
|
||||||
|
|
||||||
include barbican::deps
|
include barbican::deps
|
||||||
|
Loading…
Reference in New Issue
Block a user