From e6859bc74154e89b4996313992cc58c1f002be5e Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Thu, 2 Sep 2010 17:01:14 +0200 Subject: [PATCH] We use "keyinfo" in all kinda of places. Rename it to something more generic, II --- 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 71b604cd..1fb3fd90 100644 --- a/modules/ssh/templates/authorized_keys.erb +++ b/modules/ssh/templates/authorized_keys.erb @@ -38,7 +38,7 @@ ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAgEAuGJnElqbhgLtmJp/de8s42cAwKrkAhFq5u8EAkauEv6B out = '' ldapall.keys.sort.each do |node| out += '# ' + ldapall[node]['hostname'].to_s + ' -command="/usr/lib/da-backup/da-backup-ssh-wrap ' + ldapall[node]['hostname'].to_s + '",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,from="' + keyinfo[node]['ipHostNumber'].join(',') + '" ' + keyinfo[node]['sshRSAHostKey'].to_s + ' +command="/usr/lib/da-backup/da-backup-ssh-wrap ' + ldapall[node]['hostname'].to_s + '",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,from="' + ldapall[node]['ipHostNumber'].join(',') + '" ' + ldapall[node]['sshRSAHostKey'].to_s + ' ' end -- 2.39.2