projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Stop hardcoding /srv/puppet.debian.org/from-letsencrypt/ all over the place
[mirror/dsa-puppet.git]
/
modules
/
ssl
/
templates
/
crt-chained.erb
diff --git
a/modules/ssl/templates/crt-chained.erb
b/modules/ssl/templates/crt-chained.erb
index
aba48f6
..
aa914b6
100644
(file)
--- 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
%>