diff --git a/doc/puppet_classes/prometheus_cd_3A_3Amain_3A_3Adirs.html b/doc/puppet_classes/prometheus_cd_3A_3Amain_3A_3Adirs.html index a7c3c64..58c7e7c 100644 --- a/doc/puppet_classes/prometheus_cd_3A_3Amain_3A_3Adirs.html +++ b/doc/puppet_classes/prometheus_cd_3A_3Amain_3A_3Adirs.html @@ -176,7 +176,7 @@ class prometheus_cd::main::dirs ( seltype => systemd_unit_file_t, seluser => unconfined_u, } - if $ps_write_external == true { + if $ps_enable_pruning == true { file { $ps_pruning_dir: ensure => directory, owner => 'prometheus', @@ -188,7 +188,7 @@ class prometheus_cd::main::dirs ( seluser => unconfined_u, } } - if $ps_write_external == false { + if $ps_enable_pruning == false { file { $ps_pruning_dir: ensure => absent, } diff --git a/doc/puppet_classes/prometheus_cd_3A_3Aparams.html b/doc/puppet_classes/prometheus_cd_3A_3Aparams.html index bbcf7cf..6cc2394 100644 --- a/doc/puppet_classes/prometheus_cd_3A_3Aparams.html +++ b/doc/puppet_classes/prometheus_cd_3A_3Aparams.html @@ -578,6 +578,24 @@ +
whether to allow pruning local blocks
+-33 34 35 36 @@ -676,10 +693,12 @@ 99 100 101 -102+102 +103 +104
# File 'manifests/params.pp', line 33
+ # File 'manifests/params.pp', line 34
class prometheus_cd::params (
@@ -726,7 +745,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