]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
start by quoting strings
authorPeter Palfrader <peter@palfrader.org>
Sun, 21 Feb 2010 14:03:22 +0000 (15:03 +0100)
committerPeter Palfrader <peter@palfrader.org>
Sun, 21 Feb 2010 14:03:22 +0000 (15:03 +0100)
modules/portforwarder/templates/authorized_keys.erb

index fe4ac47450efafeafdfb2638834b1d6117334a2d..20335b521470a0fc7540b656c4edd18ad0acd282 100644 (file)
@@ -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?