wiki: Handle collab_daemon variable explicitly as string

This commit is contained in:
Ossi Salmi 2013-06-16 00:05:34 +03:00
parent 3b836e1e1a
commit 1fbaaacc65

View file

@ -152,8 +152,7 @@ class wiki::collabbackend inherits wiki::graphingwiki::common {
# Defaults to conference.$wiki_collab_jabberdomain. # Defaults to conference.$wiki_collab_jabberdomain.
# #
# $collab_daemon: # $collab_daemon:
# Bool for whether to use wsgi daemon mode for collab. # Use wsgi daemon mode if set to "true".
# Defaults to false.
# #
class wiki::collab { class wiki::collab {
@ -365,7 +364,7 @@ class wiki::collab {
content => template("wiki/collab-httpd.conf.erb"), content => template("wiki/collab-httpd.conf.erb"),
} }
if $collab_daemon == true { if $collab_daemon == "true" {
apache::configfile { "wsgi_collab.conf": apache::configfile { "wsgi_collab.conf":
http => false, http => false,
content => template("wiki/collab-wsgi.conf.erb"), content => template("wiki/collab-wsgi.conf.erb"),