X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=modules%2Fportforwarder%2Ftemplates%2Fauthorized_keys.erb;h=20335b521470a0fc7540b656c4edd18ad0acd282;hb=3a970a7f055c7afe454ef7b879be35a8610ceb7c;hp=fe4ac47450efafeafdfb2638834b1d6117334a2d;hpb=571572f372320efab5230dc52f7591ba0d2831ef;p=dsa-puppet.git diff --git a/modules/portforwarder/templates/authorized_keys.erb b/modules/portforwarder/templates/authorized_keys.erb index fe4ac474..20335b52 100644 --- a/modules/portforwarder/templates/authorized_keys.erb +++ b/modules/portforwarder/templates/authorized_keys.erb @@ -7,7 +7,7 @@ config.each_pair do |sourcehost, services| sshkey = nil remote_ip = keyinfo[sourcehost][0]['ipHostNumber'].join(',') forward_to_port = service['target_port'] - local_bind = 127.0.0.2 + local_bind = '127.0.0.2' lines << "# from #{sourcehost} on local port #{service['source_bind_port']}" if remote_ip.nil? or forward_to_port.nil? or local_bind.nil?