From 0de0c52d6ee7de3280436a09a97bebee8fd57a89 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 9 Apr 2013 10:31:25 +0200 Subject: [PATCH] Samhain ignore /etc/static-components.conf on static hosts --- modules/samhain/templates/samhainrc.erb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/samhain/templates/samhainrc.erb b/modules/samhain/templates/samhainrc.erb index 0f227ed7b..d4d3355ae 100644 --- a/modules/samhain/templates/samhainrc.erb +++ b/modules/samhain/templates/samhainrc.erb @@ -104,6 +104,9 @@ file=/etc/bind/geodns/recvconf.files file=/etc/bind/named.conf.options <% end -%> file=/etc/apache2/conf.d/puppet-builddlist +<% if classes.include?("roles::static_base") -%> +file=/etc/static-components.conf +<% end -%> # # There are files in /etc that might change, thus changing the directory -- 2.20.1