From: Peter Palfrader Date: Sun, 21 Feb 2010 14:03:22 +0000 (+0100) Subject: start by quoting strings X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=3a970a7f055c7afe454ef7b879be35a8610ceb7c;p=mirror%2Fdsa-puppet.git start by quoting strings --- diff --git a/modules/portforwarder/templates/authorized_keys.erb b/modules/portforwarder/templates/authorized_keys.erb index fe4ac4745..20335b521 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?