X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fssh%2Ftemplates%2Fauthorized_keys.erb;h=459a0f250646940c1e62c3a06f702ef112ff6369;hb=1806a0c50edb73954c614b9ad5921a125eab08d4;hp=f4b732895317ba2f320fcce9996d0e35a964a0fd;hpb=e4e2ee630c3fe051c0c8a754905ece8b37ab4476;p=mirror%2Fdsa-puppet.git diff --git a/modules/ssh/templates/authorized_keys.erb b/modules/ssh/templates/authorized_keys.erb index f4b732895..459a0f250 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.debian.org}.include?(node) then + if %w{moszumanska.debian.org 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] + '