]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Samhain ignore /etc/static-components.conf on static hosts
authorPeter Palfrader <peter@palfrader.org>
Tue, 9 Apr 2013 08:31:25 +0000 (10:31 +0200)
committerPeter Palfrader <peter@palfrader.org>
Tue, 9 Apr 2013 08:32:59 +0000 (10:32 +0200)
modules/samhain/templates/samhainrc.erb

index 0f227ed7b6037e69f8b22adb1654de191a6edbf8..d4d3355ae62b5e9695c6603bafbecebdbbd68ef3 100644 (file)
@@ -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