From 0fa891246059b5197099fb33922a56bd81973d5f Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 27 May 2009 21:56:13 +0200 Subject: [PATCH] Ignore some files on geoip hosts --- modules/samhain/templates/samhainrc.erb | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/modules/samhain/templates/samhainrc.erb b/modules/samhain/templates/samhainrc.erb index 25f8f5e2c..50518143d 100644 --- a/modules/samhain/templates/samhainrc.erb +++ b/modules/samhain/templates/samhainrc.erb @@ -89,7 +89,19 @@ file=/etc/network/run/ifstate file=/var/state/samhain/samhain_file file=/etc/bind/zones/db.debian.net file=/etc/exim4/bsmtp - +<% if hostname == "geo1" || hostname == "geo2" || hostname == "geo3" -%> +file=/etc/bind/named.conf.geo +file=/etc/bind/named.conf.acl +file=/etc/bind/named.conf.options +file=/etc/bind/geodns/db.security.debian.org.SA +file=/etc/bind/geodns/db.security.debian.org.OC +file=/etc/bind/geodns/db.security.debian.org.NA +file=/etc/bind/geodns/db.security.debian.org.EU +file=/etc/bind/geodns/db.security.debian.org.AS +file=/etc/bind/geodns/db.security.debian.org.AN +file=/etc/bind/geodns/db.security.debian.org.AF +file=/etc/bind/geodns/db.security.debian.org +<% end -%> # -- 2.20.1