aboutsummaryrefslogtreecommitdiffstats
path: root/modules/apache/templates
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2011-05-08 19:30:46 +0000
committerPascal Terjan <pterjan@mageia.org>2011-05-08 19:30:46 +0000
commitdbc578f30bd454cc2d239bf8863af4477e39e0bf (patch)
tree05f07b3cf0d2f6ef8e38e5b58b741efe95d3c7d2 /modules/apache/templates
parent6a258072122229afebedc10968471a7dfc6a25d1 (diff)
downloadpuppet-dbc578f30bd454cc2d239bf8863af4477e39e0bf.tar
puppet-dbc578f30bd454cc2d239bf8863af4477e39e0bf.tar.gz
puppet-dbc578f30bd454cc2d239bf8863af4477e39e0bf.tar.bz2
puppet-dbc578f30bd454cc2d239bf8863af4477e39e0bf.tar.xz
puppet-dbc578f30bd454cc2d239bf8863af4477e39e0bf.zip
Fix handling of options
Diffstat (limited to 'modules/apache/templates')
-rw-r--r--modules/apache/templates/vhost_base.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/apache/templates/vhost_base.conf b/modules/apache/templates/vhost_base.conf
index 07d3f236..e737e990 100644
--- a/modules/apache/templates/vhost_base.conf
+++ b/modules/apache/templates/vhost_base.conf
@@ -39,7 +39,7 @@ end
<%= content %>
-<%- if options.length -%>
+<%- if options.length > 0 -%>
<Directory <%= location %>>
Options <%= options.join(" ") %>
</Directory>