X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fssl%2Ftemplates%2Fcrt-chained.erb;h=aa914b625d69d4e35b936ba2b555589d8ce14491;hb=768ec9a8fc86b187fd460ac8b53f31ab60d35870;hp=aba48f6a9324193044f1be05c9ec5e0c577790d2;hpb=1362b9d1c582c0e2063ef93d893a45d775d49e0d;p=mirror%2Fdsa-puppet.git diff --git a/modules/ssl/templates/crt-chained.erb b/modules/ssl/templates/crt-chained.erb index aba48f6a9..aa914b625 100644 --- a/modules/ssl/templates/crt-chained.erb +++ b/modules/ssl/templates/crt-chained.erb @@ -1,5 +1,6 @@ <%= - fn = "/srv/puppet.debian.org/from-letsencrypt/#{@name}.crt-chained" + dir = scope().call_function('hiera', ['paths.letsencrypt_dir']) + fn = "#{dir}/#{@name}.crt-chained" out = File.read(fn) out %>