X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fsamhain%2Ftemplates%2Fsamhainrc.erb;h=bb436d4512141ee359d3f8382fce1763746f6fa5;hb=09a273bc9a6c899a931074f902bb14faa8325948;hp=820dbdbae5771059d32cff24fe580039df2c1b8e;hpb=7fbd1fb63f9a8e87683b183e8b39bce18af59a4a;p=mirror%2Fdsa-puppet.git diff --git a/modules/samhain/templates/samhainrc.erb b/modules/samhain/templates/samhainrc.erb index 820dbdbae..bb436d451 100644 --- a/modules/samhain/templates/samhainrc.erb +++ b/modules/samhain/templates/samhainrc.erb @@ -147,7 +147,10 @@ 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'] %> +file=/etc/unbound +<% end -%> +file=/etc/dsa [LogFiles] ## @@ -256,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'] @@ -386,7 +390,6 @@ file=/etc/bind/named.conf.debian-zones <% if fqdn == "dijkstra.debian.org" -%> dir=4/etc/dsa-kvm <% end -%> - <% if nodeinfo['buildd'] -%> dir=3/etc/lvm <% end -%> @@ -395,6 +398,9 @@ 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'] %> +file=/etc/unbound/unbound.conf +<% end -%> [IgnoreNone] ## @@ -424,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 @@ -836,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 #