diff options
author | Micah Anderson <micah@leap.se> | 2014-12-02 11:26:35 -0500 |
---|---|---|
committer | Micah Anderson <micah@leap.se> | 2014-12-02 22:58:13 -0500 |
commit | a84272aa77715a4029ebd06b38b7a5ad05e6acd0 (patch) | |
tree | cd4d4c165ced4ec283fbeab0071daaf735c2be51 /puppet/modules/site_nagios/manifests/add_host_services.pp | |
parent | a3af7019efe6f5ff3daeeff474a8c31b1b3318c8 (diff) |
Change nagios mail To: Header to contain the actual platform environment's contact email (Bug #6466)
Change-Id: Ib86ae771e0ac3b6f329a517a8a31c9ec54d33a05
Diffstat (limited to 'puppet/modules/site_nagios/manifests/add_host_services.pp')
-rw-r--r-- | puppet/modules/site_nagios/manifests/add_host_services.pp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/puppet/modules/site_nagios/manifests/add_host_services.pp b/puppet/modules/site_nagios/manifests/add_host_services.pp index 279809d1..236702e2 100644 --- a/puppet/modules/site_nagios/manifests/add_host_services.pp +++ b/puppet/modules/site_nagios/manifests/add_host_services.pp @@ -4,7 +4,9 @@ define site_nagios::add_host_services ( $ip_address, $services, $ssh_port, - $openvpn_gateway_address='' ) { + $environment, + $openvpn_gateway_address='', + ) { $nagios_hostname = $domain_internal @@ -16,6 +18,7 @@ define site_nagios::add_host_services ( 'hostname' => $nagios_hostname, 'ip_address' => $ip_address, 'openvpn_gw' => $openvpn_gateway_address, + 'environment' => $environment } $dynamic_parameters = { 'service' => '%s' |