From b2d4731622d67064020896005770b6d96e5aeb39 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Mon, 5 Aug 2013 11:27:27 +0200 Subject: [PATCH] maybe this? --- modules/ssh/templates/authorized_keys.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ssh/templates/authorized_keys.erb b/modules/ssh/templates/authorized_keys.erb index a2c86074e..173e1e3fe 100644 --- a/modules/ssh/templates/authorized_keys.erb +++ b/modules/ssh/templates/authorized_keys.erb @@ -51,7 +51,7 @@ command="/usr/lib/da-backup/da-backup-ssh-wrap ' + scope.lookupvar('site::allnod when "backuphost.debian.org" then out = '' scope.lookupvar('site::allnodeinfo').keys.sort.each do |node| - if %w{stabile}.include?(node) then + if %w{stabile.debian.org}.include?(node) then out += '# ' + scope.lookupvar('site::allnodeinfo')[node]['hostname'][0] + ' command="/usr/lib/da-backup/da-backup-ssh-wrap ' + scope.lookupvar('site::allnodeinfo')[node]['hostname'][0] + '",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,from="' + scope.lookupvar('site::allnodeinfo')[node]['ipHostNumber'].join(',') + '" ' + scope.lookupvar('site::allnodeinfo')[node]['sshRSAHostKey'][0] + ' -- 2.20.1