OP#188 create proper boolean
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
# @param [String] ps_auth_ext_user user for writing to extern instance
|
||||
# @param [String] ps_auth_ext_pass password for writing to extern instance
|
||||
# @param [String] ps_external_url the full url for the remote write point
|
||||
# @param [Boolean] ps_enable_pruning whether to allow pruning local blocks
|
||||
# @param [String] ps_pruning_dir the directory for the pruning script
|
||||
##############################################################################
|
||||
class prometheus_cd::params (
|
||||
@@ -75,7 +76,8 @@ class prometheus_cd::params (
|
||||
String $ps_external_url = 'http://changeme.local/write',
|
||||
|
||||
# pruning script
|
||||
String $ps_pruning_dir = '/opt/prometheus-prune'
|
||||
Boolean $ps_enable_pruning = false,
|
||||
String $ps_pruning_dir = '/opt/prometheus-prune',
|
||||
|
||||
) {
|
||||
# defaults
|
||||
|
||||
Reference in New Issue
Block a user