From: Peter Palfrader Date: Wed, 4 Dec 2013 17:22:04 +0000 (+0100) Subject: Exclude /etc/static-clients.conf on more hosts X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=4bcee88105b9c9feaebbb118589f85a010d4b672;p=mirror%2Fdsa-puppet.git Exclude /etc/static-clients.conf on more hosts --- diff --git a/modules/samhain/templates/samhainrc.erb b/modules/samhain/templates/samhainrc.erb index 8b3a3e8ea..461f4874b 100644 --- a/modules/samhain/templates/samhainrc.erb +++ b/modules/samhain/templates/samhainrc.erb @@ -104,6 +104,11 @@ file=/etc/bind/named.conf.options file=/etc/apache2/conf.d/puppet-builddlist <% if classes.include?("roles::static_mirror") -%> file=/etc/apache2/sites-available/static-vhosts-simple +file=/etc/static-clients.conf +<% elsif classes.include?("roles::static_master") -%> +file=/etc/static-clients.conf +<% elsif classes.include?("roles::static_source") -%> +file=/etc/static-clients.conf <% end -%> #