X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fsamhain%2Ftemplates%2Fsamhainrc.erb;h=bb436d4512141ee359d3f8382fce1763746f6fa5;hb=09a273bc9a6c899a931074f902bb14faa8325948;hp=600c05edf9172da91255b95ecab051993781748b;hpb=45516931d3de1d72ae32e18414336a04bc1e7e48;p=mirror%2Fdsa-puppet.git diff --git a/modules/samhain/templates/samhainrc.erb b/modules/samhain/templates/samhainrc.erb index 600c05edf..bb436d451 100644 --- a/modules/samhain/templates/samhainrc.erb +++ b/modules/samhain/templates/samhainrc.erb @@ -150,6 +150,7 @@ file=/etc/rc.local <% if nodeinfo.has_key?('squeeze') and nodeinfo['squeeze'] %> file=/etc/unbound <% end -%> +file=/etc/dsa [LogFiles] ## @@ -258,6 +259,7 @@ file=/etc/exim4/ssl/thishost.crt file=/etc/exim4/ssl/thishost.key file=/etc/ssh/ssh_config file=/etc/ssh/sshd_config +file=/etc/dsa/cron.ignore.dsa-puppet-stuff <%= out="" if nodeinfo['heavy_exim'] @@ -428,6 +430,7 @@ dir=3/sbin dir=/usr/sbin dir=/lib dir=3/usr/lib +dir=3/usr/share # # RedHat and Debian have the bootinit scripts in /etc/init.d/* or /etc/rc.d/*, # so we go 3 levels deep there too @@ -840,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 #