From: Peter Palfrader Date: Mon, 5 Aug 2013 09:27:27 +0000 (+0200) Subject: maybe this? X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=b2d4731622d67064020896005770b6d96e5aeb39;p=dsa-puppet.git maybe this? --- diff --git a/modules/ssh/templates/authorized_keys.erb b/modules/ssh/templates/authorized_keys.erb index a2c86074..173e1e3f 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] + '