X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fssh%2Ftemplates%2Fauthorized_keys.erb;h=173e1e3fefe2fb0171041056fe221d50bb9d6389;hb=b2d4731622d67064020896005770b6d96e5aeb39;hp=a2c86074eee2559e08904ab69fff11f7377abb50;hpb=d3f1a1611e3b978437eb18526eaf169cd241cd7d;p=mirror%2Fdsa-puppet.git 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] + '