summaryrefslogtreecommitdiff
path: root/puppet/modules/site_apache
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2013-06-25 15:51:37 -0400
committerMicah Anderson <micah@riseup.net>2013-06-25 15:51:37 -0400
commit89ad90073b5289da62eed74c8794e2911672081f (patch)
tree2f30dd1ff2e5c56e74c02a228f817280fc050a78 /puppet/modules/site_apache
parent6aea5c1d17cf4dd1800aba4409fdc25c54936a83 (diff)
fix for #2986 - the services variable is no longer an array
Change-Id: Ia6fc60c0c1fdfa50e1d6d981699c1d8010df63fc
Diffstat (limited to 'puppet/modules/site_apache')
-rw-r--r--puppet/modules/site_apache/templates/vhosts.d/leap_webapp.conf.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/puppet/modules/site_apache/templates/vhosts.d/leap_webapp.conf.erb b/puppet/modules/site_apache/templates/vhosts.d/leap_webapp.conf.erb
index 3055a7bb..4b051699 100644
--- a/puppet/modules/site_apache/templates/vhosts.d/leap_webapp.conf.erb
+++ b/puppet/modules/site_apache/templates/vhosts.d/leap_webapp.conf.erb
@@ -36,7 +36,7 @@
PassengerFriendlyErrorPages off
SetEnv TMPDIR /var/tmp
- <% if (defined? @services) and (services.is_a? Array) and (@services.include? 'monitor') -%>
+ <% if (defined? @services) and (@services.include? 'monitor') -%>
<DirectoryMatch (/usr/share/nagios3/htdocs|/usr/lib/cgi-bin/nagios3|/etc/nagios3/stylesheets)>
PassengerEnabled off
AllowOverride all