]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/ferm/templates/me.conf.erb
nagios also wants to talk smtp
[dsa-puppet.git] / 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