X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fssl%2Ftemplates%2Fchained.erb;h=778a5b817aca237b75fbc1c0a2bbcba9ef32717d;hb=2fc76fdf7b368a560901ee3578bd3abf47ab2365;hp=99572b77546c0b93dbc7f709e4ce858dd77828c6;hpb=ddf5299204664fd8bbd5fdf47018221c8541c197;p=mirror%2Fdsa-puppet.git diff --git a/modules/ssl/templates/chained.erb b/modules/ssl/templates/chained.erb index 99572b775..778a5b817 100644 --- a/modules/ssl/templates/chained.erb +++ b/modules/ssl/templates/chained.erb @@ -5,7 +5,7 @@ out = File.read(fn) chain = "/etc/puppet/modules/ssl/files/chains/#{name}.crt" - out += File.exist?(chain) ? File.read(chain) : '' + out += File.exist?(chain) ? ("\n" + File.read(chain)) : '' else fn = "/etc/puppet/modules/ssl/files/from-letsencrypt/#{name}.crt-chained" out = File.read(fn)