samhain ignore /etc/ssh/userkeys/buildd-uploader on ssh upload hosts
authorPeter Palfrader <peter@palfrader.org>
Tue, 6 Feb 2018 09:15:04 +0000 (10:15 +0100)
committerPeter Palfrader <peter@palfrader.org>
Tue, 6 Feb 2018 09:15:17 +0000 (10:15 +0100)
modules/samhain/templates/samhainrc.erb

index b2be07a..4d47426 100644 (file)
@@ -185,6 +185,9 @@ file=/etc/rabbitmq
 file=/etc/ssh/userkeys
 file=/etc/ssh/userkeys/staticsync
 <% end -%>
+<% if scope.function_has_role(['ssh.upload.d.o']) -%>
+file=/etc/ssh/userkeys/buildd-uploader
+<% end -%>
 file=/etc/rsyncd
 <%- if @hostname == "sibelius" then -%>
 file=/etc/tsm