3
0
This commit is contained in:
Arne Teuke
2025-10-18 12:30:47 +02:00
parent 42befb46c3
commit c2eca38b93
5 changed files with 80 additions and 1 deletions

View File

@@ -6,7 +6,8 @@
class prometheus_cd::main::service (
) inherits prometheus_cd::params {
require prometheus_cd::main::files
if $manage_prometheus == true {
require prometheus_cd::firewall::iptables
if ($ps_prom_host == $fqdn) and ($manage_prometheus == true) {
service { 'prometheus':
ensure => running,
hasstatus => true,