3
0

Recommit for updates in build 20

This commit is contained in:
2025-10-18 14:08:27 +02:00
parent 6e8620750c
commit e48e7aa383
5 changed files with 8 additions and 22 deletions

View File

@@ -126,7 +126,7 @@
class prometheus_cd::main::files (
) inherits prometheus_cd::params {
require prometheus_cd::main::dirs
if $ps_prom_host == fqdn {
if ($ps_prom_host == $fqdn) and ($manage_prometheus == true) {
file { $ps_main_file:
ensure => file,
owner => 'root',

View File

@@ -128,9 +128,9 @@
class prometheus_cd::main::service (
) inherits prometheus_cd::params {
require prometheus_cd::main::files
require prometheus_cd::firewall::iptables
if ($ps_prom_host == $fqdn) and ($manage_prometheus == true) {
require prometheus_cd::main::files
require prometheus_cd::firewall::iptables
service { $ps_prom_service:
ensure => running,
hasstatus => true,

View File

@@ -67,8 +67,6 @@
<dt>Inherited by:</dt>
<dd>
<span class='object_link'><a href="prometheus_cd_3A_3Amain_3A_3Adirs.html" title="puppet_classes::prometheus_cd::main::dirs (puppet_class)">prometheus_cd::main::dirs</a></span><br/>
<span class='object_link'><a href="prometheus_cd_3A_3Amain_3A_3Afiles.html" title="puppet_classes::prometheus_cd::main::files (puppet_class)">prometheus_cd::main::files</a></span><br/>
<span class='object_link'><a href="prometheus_cd_3A_3Amain_3A_3Aconfig.html" title="puppet_classes::prometheus_cd::main::config (puppet_class)">prometheus_cd::main::config</a></span><br/>