3
0

OP#188 create proper boolean

This commit is contained in:
2025-12-04 12:01:57 +01:00
parent 747b0f22d1
commit de0a84737e
2 changed files with 5 additions and 3 deletions

View File

@@ -29,7 +29,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',
@@ -41,7 +41,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,
}