aboutsummaryrefslogtreecommitdiffstats
path: root/modules/apache/templates/vhost_ssl.conf
diff options
context:
space:
mode:
authorDan Fandrich <danf@mageia.org>2024-10-04 19:28:06 -0700
committerDan Fandrich <danf@mageia.org>2024-10-04 19:28:06 -0700
commit2c7da66570999dcd21f11f976dc6ec27d820f45c (patch)
treeb97dd9f25df691c66b2be31b658cc6fec638d47e /modules/apache/templates/vhost_ssl.conf
parenta69863ece1973cf3eae488f30c657b57dfb89779 (diff)
downloadpuppet-2c7da66570999dcd21f11f976dc6ec27d820f45c.tar
puppet-2c7da66570999dcd21f11f976dc6ec27d820f45c.tar.gz
puppet-2c7da66570999dcd21f11f976dc6ec27d820f45c.tar.bz2
puppet-2c7da66570999dcd21f11f976dc6ec27d820f45c.tar.xz
puppet-2c7da66570999dcd21f11f976dc6ec27d820f45c.zip
Use @ when accessing variables in templates
Access without the @ symbol is the older method and is discouraged.
Diffstat (limited to 'modules/apache/templates/vhost_ssl.conf')
-rw-r--r--modules/apache/templates/vhost_ssl.conf10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/apache/templates/vhost_ssl.conf b/modules/apache/templates/vhost_ssl.conf
index e39e6820..d721f0cf 100644
--- a/modules/apache/templates/vhost_ssl.conf
+++ b/modules/apache/templates/vhost_ssl.conf
@@ -3,11 +3,11 @@
SSLHonorCipherOrder On
SSLCipherSuite ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS
<%- if wildcard_sslcert == 'true' then -%>
- SSLCertificateFile /etc/ssl/wildcard.<%= domain %>.crt
- SSLCertificateKeyFile /etc/ssl/wildcard.<%= domain %>.key
- SSLCACertificateFile /etc/ssl/wildcard.<%= domain %>.pem
+ SSLCertificateFile /etc/ssl/wildcard.<%= @domain %>.crt
+ SSLCertificateKeyFile /etc/ssl/wildcard.<%= @domain %>.key
+ SSLCACertificateFile /etc/ssl/wildcard.<%= @domain %>.pem
SSLVerifyClient None
<%- else -%>
- SSLCertificateFile /etc/ssl/apache/<%= real_vhost %>.pem
- SSLCertificateKeyFile /etc/ssl/apache/<%= real_vhost %>.pem
+ SSLCertificateFile /etc/ssl/apache/<%= @real_vhost %>.pem
+ SSLCertificateKeyFile /etc/ssl/apache/<%= @real_vhost %>.pem
<%- end -%>