X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fsamhain%2Ftemplates%2Fsamhainrc.erb;h=e36f484c7d0fdcdca5ccb7d20b5fd506139f7b63;hb=200b6f4fdb8a3bb06e7b85f136144727f59c205c;hp=1757345b6612a85e61331c73f21adb65dce6a7e7;hpb=c76fc3f47458065f4e3aeaa018a58bee01b23222;p=mirror%2Fdsa-puppet.git diff --git a/modules/samhain/templates/samhainrc.erb b/modules/samhain/templates/samhainrc.erb index 1757345b6..e36f484c7 100644 --- a/modules/samhain/templates/samhainrc.erb +++ b/modules/samhain/templates/samhainrc.erb @@ -147,7 +147,7 @@ file=/etc/ferm/ file=/etc/ferm/conf.d file=/etc/ferm/dsa.d file=/etc/rc.local -<% if nodeinfo.has_key?('squeeze') and nodeinfo['squeeze'] %> +<% unless lsbdistcodename == 'lenny' %> file=/etc/unbound <% end -%> file=/etc/dsa @@ -328,6 +328,7 @@ file=/etc/apt/apt.conf.d/local-pdiffs file=/etc/puppet/puppet.conf file=/etc/default/puppet file=/etc/default/postgrey +file=/etc/default/schroot file=/etc/default/syslog-ng file=/etc/logrotate.d/exim4-paniclog file=/etc/logrotate.d/exim4-base @@ -398,7 +399,7 @@ file=/etc/ferm/conf.d/me.conf file=/etc/ferm/conf.d/defs.conf file=/etc/ferm/ferm.conf dir=2/etc/ssl/debian -<% if nodeinfo.has_key?('squeeze') and nodeinfo['squeeze'] %> +<% unless lsbdistcodename == 'lenny' %> file=/etc/unbound/unbound.conf <% end -%> @@ -843,14 +844,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 #