From: Peter Palfrader Date: Sun, 21 Feb 2010 14:05:16 +0000 (+0100) Subject: yeah, that too X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=c465add9c8a60f17d8ad7db0443af391f87c7f14;p=mirror%2Fdsa-puppet.git yeah, that too --- diff --git a/modules/portforwarder/templates/authorized_keys.erb b/modules/portforwarder/templates/authorized_keys.erb index 20335b521..94ad031c8 100644 --- a/modules/portforwarder/templates/authorized_keys.erb +++ b/modules/portforwarder/templates/authorized_keys.erb @@ -1,4 +1,5 @@ <%= +lines = [] config = YAML.load(File.open('/etc/puppet/modules/portforwarder/misc/config.yaml').read) config.each_pair do |sourcehost, services| services.each do |service| @@ -19,6 +20,5 @@ config.each_pair do |sourcehost, services| end end end -lines = [] lines.join("\n") %>