make contact changeable
This commit is contained in:
@@ -17,7 +17,7 @@ class confdroid_apache::monitoring::target (
|
||||
owner => 'nagios',
|
||||
group => 'nagios',
|
||||
mode => '0640',
|
||||
contacts => 'ops',
|
||||
contacts => $ae_target_contacts,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -40,14 +40,15 @@
|
||||
# @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.
|
||||
###########################################################################
|
||||
class confdroid_apache::params (
|
||||
|
||||
# installation
|
||||
String $pkg_ensure = 'present',
|
||||
Array $reqpackages = ['httpd','mod_ssl'],
|
||||
String $pkg_ensure = 'present',
|
||||
Array $reqpackages = ['httpd','mod_ssl'],
|
||||
|
||||
# configuration files
|
||||
Boolean $ae_manage_cfg = false,
|
||||
@@ -56,13 +57,14 @@ class confdroid_apache::params (
|
||||
|
||||
# nagios
|
||||
Boolean $ae_incl_target = false,
|
||||
String $ae_target_service = '/etc/nagios/conf.d/httpd_service.cfg',
|
||||
String $ae_target_service = '/etc/nagios/conf.d/httpd_service.cfg',
|
||||
String $ae_target_contacts = 'nagiosadmin',
|
||||
|
||||
# firewall
|
||||
Boolean $ae_manage_fw = true,
|
||||
String $ae_order_no = '50',
|
||||
String $ae_http_port = '80',
|
||||
String $ae_https_port = '443',
|
||||
String $ae_order_no = '50',
|
||||
String $ae_http_port = '80',
|
||||
String $ae_https_port = '443',
|
||||
|
||||
) {
|
||||
# facts
|
||||
|
||||
Reference in New Issue
Block a user