Try to avoid reserved site keyword
[mirror/dsa-puppet.git] / modules / portforwarder / templates / authorized_keys.erb
index 755f344..f7b56fc 100644 (file)
@@ -36,7 +36,7 @@ config.each_pair do |sourcehost, services|
 
        if allowed_ports.length > 0
                sshkey = getportforwarderkey(sourcehost)
-               remote_ip = scope.lookupvar('site::allnodeinfo')[sourcehost]['ipHostNumber'].join(',')
+               remote_ip = scope.lookupvar('deprecated::allnodeinfo')[sourcehost]['ipHostNumber'].join(',')
                local_bind = get_local_ip_addr(sourcehost)
 
                lines << "# from #{sourcehost}"