make contact changeable

This commit is contained in:
2026-03-10 12:21:04 +01:00
parent 4a9d594758
commit f4cb7198b3
2 changed files with 9 additions and 7 deletions

View File

@@ -17,7 +17,7 @@ class confdroid_apache::monitoring::target (
owner => 'nagios',
group => 'nagios',
mode => '0640',
contacts => 'ops',
contacts => $ae_target_contacts,
}
}
}

View File

@@ -40,6 +40,7 @@
# @param [String] ae_http_port the port to use for the http protocol
# @param [String] ae_https_port the port to use for the https protocol
# @param [String] ae_target_service which service to monitor with nagios
# @param [String] ae_target_contacts which contacts to notify for nagios alerts
# @param [Boolean] ae_manage_fw whether to manage firewall settings
# @param [Array] reqpackages List of packages to install.
###########################################################################
@@ -57,6 +58,7 @@ class confdroid_apache::params (
# nagios
Boolean $ae_incl_target = false,
String $ae_target_service = '/etc/nagios/conf.d/httpd_service.cfg',
String $ae_target_contacts = 'nagiosadmin',
# firewall
Boolean $ae_manage_fw = true,