Merge branch 'master' of https://bitbucket.org/tmakinen/puppet
This commit is contained in:
commit
da62e6b9a2
3 changed files with 11 additions and 7 deletions
|
@ -1,3 +1,3 @@
|
||||||
<Directory "/srv/www/https/*/moin_static">
|
<Directory "/srv/www/https/*/moin_static*">
|
||||||
AllowOverride FileInfo
|
AllowOverride FileInfo
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
|
@ -140,7 +140,11 @@ class wiki::collab inherits wiki::graphingwiki::common {
|
||||||
# Directory for wiki data. Defaults to /srv/wikis.
|
# Directory for wiki data. Defaults to /srv/wikis.
|
||||||
#
|
#
|
||||||
# $collab_webhosts:
|
# $collab_webhosts:
|
||||||
# List of collab virtual hosts. Defaults to [ "$homename" ].
|
# List of collab virtual hosts.
|
||||||
|
#
|
||||||
|
# $collab_webroot:
|
||||||
|
# Path to collab in webserver document root.
|
||||||
|
# Defaults to "/srv/www/https/*/collab".
|
||||||
#
|
#
|
||||||
# $collab_jabberdomain:
|
# $collab_jabberdomain:
|
||||||
# Domain for jabber extauth.
|
# Domain for jabber extauth.
|
||||||
|
@ -324,13 +328,13 @@ class wiki::collab::base {
|
||||||
before => Exec["collab-create collab collab"],
|
before => Exec["collab-create collab collab"],
|
||||||
}
|
}
|
||||||
|
|
||||||
if !$wiki_collab_fqdn {
|
if !$collab_webroot {
|
||||||
$wiki_collab_fqdn = $homename
|
$collab_webroot = "/srv/www/https/*/collab"
|
||||||
}
|
}
|
||||||
|
|
||||||
apache::configfile { "collab.conf":
|
apache::configfile { "collab.conf":
|
||||||
http => false,
|
http => false,
|
||||||
source => "puppet:///modules/wiki/collab-httpd.conf",
|
content => template("wiki/collab-httpd.conf.erb"),
|
||||||
}
|
}
|
||||||
|
|
||||||
exec { "collab-create collab collab":
|
exec { "collab-create collab collab":
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<Directory "/srv/www/https/*/collab">
|
<Directory "<%= collab_webroot %>">
|
||||||
Options +ExecCGI
|
Options +ExecCGI
|
||||||
AllowOverride All
|
AllowOverride All
|
||||||
</Directory>
|
</Directory>
|
Loading…
Add table
Reference in a new issue