From 6155386900f486c32cf15a41460647f0a5f2ec46 Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Tue, 30 Jul 2013 21:18:45 +0200 Subject: [PATCH] Ignore lvm files for samhain on all machines, not just buildds --- modules/samhain/templates/samhainrc.erb | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/modules/samhain/templates/samhainrc.erb b/modules/samhain/templates/samhainrc.erb index 061b70cba..a829b02e2 100644 --- a/modules/samhain/templates/samhainrc.erb +++ b/modules/samhain/templates/samhainrc.erb @@ -67,9 +67,7 @@ # RedefIgnoreNone=(no default) # RedefUser0=(no default) # RedefUser1=(no default) -<% if scope.lookupvar('site::nodeinfo')['buildd'] -%> IgnoreMissing=/etc/lvm/archive/.*.vg -<% end -%> [Attributes] ## @@ -422,9 +420,8 @@ dir=1/etc/bind/geodns dir=1/etc/bind file=/etc/bind/named.conf.debian-zones <% end -%> -<% if scope.lookupvar('site::nodeinfo')['buildd'] -%> -dir=3/etc/lvm -<% end -%> +dir=3/etc/lvm/archive +dir=3/etc/lvm/backup dir=1/etc/ferm/dsa.d dir=1/etc/ferm/conf.d dir=3/etc/facter -- 2.20.1