summaryrefslogtreecommitdiff
path: root/sitemodules
diff options
context:
space:
mode:
authorJan Dittberner <jandd@cacert.org>2020-06-06 12:36:27 +0200
committerJan Dittberner <jandd@cacert.org>2020-06-06 12:36:27 +0200
commit61a9719162440351634e5b11da33169eb2dae660 (patch)
tree075ea12ea89163facf6212819c52c5c559497b58 /sitemodules
parent0956c3b4b43caa5b0468b18013768cf428246642 (diff)
downloadcacert-puppet-61a9719162440351634e5b11da33169eb2dae660.tar.gz
cacert-puppet-61a9719162440351634e5b11da33169eb2dae660.tar.xz
cacert-puppet-61a9719162440351634e5b11da33169eb2dae660.zip
Fix template file name
The puppet template function expects templates to be named *.epp. This commit fixes this by renaming the template and using the .epp name explicitly.
Diffstat (limited to 'sitemodules')
-rw-r--r--sitemodules/profiles/manifests/nginx_revproxy.pp2
-rw-r--r--sitemodules/profiles/templates/nginx_revproxy/virtual_host.nginx.epp (renamed from sitemodules/profiles/templates/nginx_revproxy/virtual_host.nginx)0
2 files changed, 1 insertions, 1 deletions
diff --git a/sitemodules/profiles/manifests/nginx_revproxy.pp b/sitemodules/profiles/manifests/nginx_revproxy.pp
index d92bc5e..8bc4f94 100644
--- a/sitemodules/profiles/manifests/nginx_revproxy.pp
+++ b/sitemodules/profiles/manifests/nginx_revproxy.pp
@@ -60,7 +60,7 @@ class profiles::nginx_revproxy (
owner => 'root',
group => 'root',
mode => '0644',
- content => epp('profiles/nginx_revproxy/virtual_host.nginx',
+ content => epp('profiles/nginx_revproxy/virtual_host.nginx.epp',
{
'virtual_host' => $vhost,
'target' => $virtual_host['target'],
diff --git a/sitemodules/profiles/templates/nginx_revproxy/virtual_host.nginx b/sitemodules/profiles/templates/nginx_revproxy/virtual_host.nginx.epp
index 2173adf..2173adf 100644
--- a/sitemodules/profiles/templates/nginx_revproxy/virtual_host.nginx
+++ b/sitemodules/profiles/templates/nginx_revproxy/virtual_host.nginx.epp