From 19050b5482fb2b557f1f4498ceef239bdf61570a Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 6 Feb 2018 10:15:04 +0100 Subject: [PATCH] samhain ignore /etc/ssh/userkeys/buildd-uploader on ssh upload 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 b2be07aac..4d4742682 100644 --- a/modules/samhain/templates/samhainrc.erb +++ b/modules/samhain/templates/samhainrc.erb @@ -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 -- 2.20.1