samhain ignore /etc/quagga/bgpd.conf and /etc/quagga/zebra.conf
authorPeter Palfrader <peter@palfrader.org>
Mon, 8 Jan 2018 09:55:56 +0000 (10:55 +0100)
committerPeter Palfrader <peter@palfrader.org>
Mon, 8 Jan 2018 09:55:56 +0000 (10:55 +0100)
modules/samhain/templates/samhainrc.erb

index ddc9e38..b2be07a 100644 (file)
@@ -114,6 +114,12 @@ file=/etc/static-clients.conf
 file=/etc/apache2/conf-available/puppet-ssl-key-pins.conf
 <% end -%>
 file=/etc/multipath/wwids
+<%- if has_variable?("bgpd") && @bgpd -%>
+file=/etc/quagga/bgpd.conf
+<% end -%>
+<%- if has_variable?("zebra") && @zebra -%>
+file=/etc/quagga/zebra.conf
+<% end -%>
 
 #
 # There are files in /etc that might change, thus changing the directory