From f54b1984840864fd91bb20c423d1034845d10d87 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Thu, 5 Nov 2015 20:23:57 +0100 Subject: [PATCH] try this --- .../lib/puppet/parser/functions/gen_tlsa_entry.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/puppetmaster/lib/puppet/parser/functions/gen_tlsa_entry.rb b/modules/puppetmaster/lib/puppet/parser/functions/gen_tlsa_entry.rb index 2c826b965..f49555c72 100644 --- a/modules/puppetmaster/lib/puppet/parser/functions/gen_tlsa_entry.rb +++ b/modules/puppetmaster/lib/puppet/parser/functions/gen_tlsa_entry.rb @@ -12,7 +12,7 @@ module Puppet::Parser::Functions res = [] res << "; cert #{certfile} for #{hostname}:#{ports}." - ports.each { |port| + ports.each do |port| cf = certfile if File.exist?(cf) cmd = ['swede', 'create', '--usage=3', '--selector=1', '--mtype=1', '--certificate', cf, '--port', port.to_s, hostname] @@ -29,7 +29,7 @@ module Puppet::Parser::Functions res << new_entry end end - } + end return res.join("\n") end -- 2.20.1