3
0

add support for extensions and disable exporter config so far

This commit is contained in:
Arne Teuke
2025-11-21 15:49:37 +01:00
parent 4e3b493d17
commit 9f35472176
2 changed files with 4 additions and 3 deletions

View File

@@ -8,4 +8,5 @@ class postgresql_cd::exporter::files (
) inherits postgresql_cd::params { ) inherits postgresql_cd::params {
if ($fqdn == $pl_server_fqdn) and ($pl_use_exporter == true) { if ($fqdn == $pl_server_fqdn) and ($pl_use_exporter == true) {
require postgresql_cd::exporter::dirs require postgresql_cd::exporter::dirs
}
} }

View File

@@ -10,8 +10,8 @@ class postgresql_cd::main::config (
if $fqdn == $pl_server_fqdn { if $fqdn == $pl_server_fqdn {
include postgresql_cd::server::service include postgresql_cd::server::service
if $pl_use_exporter == true { # if $pl_use_exporter == true {
include postgresql_cd::exporter::service # include postgresql_cd::exporter::service
} # }
} }
} }