X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fferm%2Ftemplates%2Fme.conf.erb;h=8ed108462262a00ae590b07875e9036cd75226a0;hb=fd6b464b0da569ba84e2f260a666c257b5773f93;hp=690dc369cf4f1204195ed15000aff5c421f940fe;hpb=f906c34e9fb767be1c89efa8c2e5396fe210f30c;p=mirror%2Fdsa-puppet.git diff --git a/modules/ferm/templates/me.conf.erb b/modules/ferm/templates/me.conf.erb index 690dc369c..8ed108462 100644 --- a/modules/ferm/templates/me.conf.erb +++ b/modules/ferm/templates/me.conf.erb @@ -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