From: Peter Palfrader Date: Thu, 2 Sep 2010 15:01:14 +0000 (+0200) Subject: We use "keyinfo" in all kinda of places. Rename it to something more generic, II X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=e6859bc74154e89b4996313992cc58c1f002be5e;p=mirror%2Fdsa-puppet.git We use "keyinfo" in all kinda of places. Rename it to something more generic, II --- diff --git a/modules/ssh/templates/authorized_keys.erb b/modules/ssh/templates/authorized_keys.erb index 71b604cd7..1fb3fd906 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