X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fssl%2Ftemplates%2Fkey-chained.erb;h=52cd0399a5367133edcd6fd891196d3b377a4205;hb=11a0f9c15ed03348c1c68b154cc58bdc19b742c5;hp=a3f9445315faab4c903cdc2835312d8391257f2b;hpb=1362b9d1c582c0e2063ef93d893a45d775d49e0d;p=mirror%2Fdsa-puppet.git diff --git a/modules/ssl/templates/key-chained.erb b/modules/ssl/templates/key-chained.erb index a3f944531..52cd0399a 100644 --- a/modules/ssl/templates/key-chained.erb +++ b/modules/ssl/templates/key-chained.erb @@ -1,10 +1,12 @@ <%= - fn = "/srv/puppet.debian.org/from-letsencrypt/#{@name}.key" + dir = scope().call_function('hiera', ['paths.letsencrypt_dir']) + + fn = "#{dir}/#{@name}.key" out = File.read(fn) out %> <%= - fn = "/srv/puppet.debian.org/from-letsencrypt/#{@name}.crt-chained" + fn = "#{dir}/#{@name}.crt-chained" out = File.read(fn) out %>