]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
nagios also wants to talk smtp
authorStephen Gran <steve@lobefin.net>
Sat, 6 Mar 2010 12:40:44 +0000 (12:40 +0000)
committerStephen Gran <steve@lobefin.net>
Sat, 6 Mar 2010 12:40:44 +0000 (12:40 +0000)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/ferm/templates/me.conf.erb

index 690dc369cf4f1204195ed15000aff5c421f940fe..8ed108462262a00ae590b07875e9036cd75226a0 100644 (file)
@@ -47,7 +47,7 @@ def $SMTP_SOURCES =(<%=
 smtpallowed = []
 
 if not nodeinfo['smarthost'].empty?
-  smtpallowed = [ '$HOST_MAILRELAY_V4' ]
+  smtpallowed = [ '$HOST_MAILRELAY_V4', '$HOST_NAGIOS_V4' ]
 end
 
 if smtpallowed.length == 0
@@ -62,7 +62,7 @@ def $SMTP_V6_SOURCES =(<%=
 smtpallowed = []
 
 if not nodeinfo['smarthost'].empty?
-  smtpallowed = [ '$HOST_MAILRELAY_V6' ]
+  smtpallowed = [ '$HOST_MAILRELAY_V6', '$HOST_NAGIOS_V6' ]
 end
 
 if smtpallowed.length == 0