vsroom: Fixed parameter names

This commit is contained in:
Ossi Salmi 2013-07-19 18:23:41 +03:00
parent dc535f26aa
commit 16644e0ad6
2 changed files with 12 additions and 8 deletions

View file

@ -2,14 +2,18 @@
#
# === Parameters
#
# $vsroom_authurl:
# $authurl:
# Authentication path. Defaults to "/collab/?action=authcredentials".
#
# $vsroom_boshurl:
# $boshurl:
# XMPP BOSH path. Defaults to "/bosh/".
#
class vsroom($vsroom_authurl="/collab/?action=authcredentials",
$vsroom_boshurl="/bosh/") {
# $webhosts:
# List of vsroom virtual hosts
#
class vsroom($authurl="/collab/?action=authcredentials",
$boshurl="/bosh/",
$webhosts=undef) {
case $::operatingsystem {
"centos","redhat": {
@ -70,13 +74,13 @@ class vsroom($vsroom_authurl="/collab/?action=authcredentials",
}
}
if $vsroom_webhosts {
if $webhosts {
apache::configfile { "vsroom.conf":
http => false,
source => "puppet:///modules/vsroom/vsroom-httpd.conf",
}
configwebhost { $vsroom_webhosts:
configwebhost { $webhosts:
htdocs => $htdocs,
}
}

View file

@ -1,4 +1,4 @@
{
"authUrl": "<%= @vsroom_authurl %>",
"boshUrl": "<%= @vsroom_boshurl %>"
"authUrl": "<%= @authurl %>",
"boshUrl": "<%= @boshurl %>"
}