]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
repoint samhain reports at localhost
authorStephen Gran <steve@lobefin.net>
Tue, 21 Jun 2011 19:53:07 +0000 (20:53 +0100)
committerStephen Gran <steve@lobefin.net>
Tue, 21 Jun 2011 19:53:07 +0000 (20:53 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/samhain/templates/samhainrc.erb

index 1757345b6612a85e61331c73f21adb65dce6a7e7..bb436d4512141ee359d3f8382fce1763746f6fa5 100644 (file)
@@ -843,14 +843,9 @@ SetMailNum = 10
 
 ## Recipient (max. 8)
 #
-SetMailAddress=samhain-reports@debian.org
+SetMailAddress=samhain-reports@<%= fqdn -%>
 
-## Mail relay (IP address)
-<% if nodeinfo['smarthost'].empty? -%>
-SetMailRelay = master.debian.org
-<% else -%>
 SetMailRelay = localhost
-<% end -%>
 
 ## Custom subject format
 #