aboutsummaryrefslogtreecommitdiffstats
path: root/modules/apache/templates
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-03-03 00:43:20 +0000
committerNicolas Vigier <boklm@mageia.org>2011-03-03 00:43:20 +0000
commit64aad297cebda3fd5fc1bf055e6d7ac9b94a816a (patch)
treee649803101c5174e2ac8efad0b2c1044d2e58f2f /modules/apache/templates
parent0905b4dd042a84d93583d0a8757716e1035c96fe (diff)
downloadpuppet-64aad297cebda3fd5fc1bf055e6d7ac9b94a816a.tar
puppet-64aad297cebda3fd5fc1bf055e6d7ac9b94a816a.tar.gz
puppet-64aad297cebda3fd5fc1bf055e6d7ac9b94a816a.tar.bz2
puppet-64aad297cebda3fd5fc1bf055e6d7ac9b94a816a.tar.xz
puppet-64aad297cebda3fd5fc1bf055e6d7ac9b94a816a.zip
test wildcard_sslcert as a string (as facter converts booleans to strings)
Diffstat (limited to 'modules/apache/templates')
-rw-r--r--modules/apache/templates/01_default_ssl_vhost.conf2
-rw-r--r--modules/apache/templates/vhost_base.conf2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/apache/templates/01_default_ssl_vhost.conf b/modules/apache/templates/01_default_ssl_vhost.conf
index 0c4d1c29..d096c5db 100644
--- a/modules/apache/templates/01_default_ssl_vhost.conf
+++ b/modules/apache/templates/01_default_ssl_vhost.conf
@@ -36,7 +36,7 @@ SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
# connect. Disable SSLv2 access by default:
SSLProtocol all -SSLv2
-<%- if wildcard_sslcert then -%>
+<%- if wildcard_sslcert == 'true' then -%>
SSLCertificateFile /etc/ssl/wildcard.<%= domain %>.crt
SSLCertificateKeyFile /etc/ssl/wildcard.<%= domain %>.key
SSLCACertificateFile /etc/ssl/wildcard.<%= domain %>.pem
diff --git a/modules/apache/templates/vhost_base.conf b/modules/apache/templates/vhost_base.conf
index 807a2a47..4d3def50 100644
--- a/modules/apache/templates/vhost_base.conf
+++ b/modules/apache/templates/vhost_base.conf
@@ -8,7 +8,7 @@ end
<VirtualHost *:<%= port %>>
<%- if use_ssl then -%>
SSLEngine on
- <%- if wildcard_sslcert then -%>
+ <%- if wildcard_sslcert == 'true' then -%>
SSLCertificateFile /etc/ssl/wildcard.<%= domain %>.crt
SSLCertificateKeyFile /etc/ssl/wildcard.<%= domain %>.key
SSLCACertificateFile /etc/ssl/wildcard.<%= domain %>.pem