Puppet 3 fixes for ejabberd and vsroom
This commit is contained in:
parent
22bacf19b4
commit
5b12b921b3
2 changed files with 8 additions and 4 deletions
|
@ -156,7 +156,7 @@ class ejabberd {
|
||||||
|
|
||||||
$htdocs = "/usr/share/ejabberd/htdocs"
|
$htdocs = "/usr/share/ejabberd/htdocs"
|
||||||
|
|
||||||
define configwebhost() {
|
define configwebhost($htdocs) {
|
||||||
file { "/srv/www/https/${name}/bosh":
|
file { "/srv/www/https/${name}/bosh":
|
||||||
ensure => link,
|
ensure => link,
|
||||||
target => $htdocs,
|
target => $htdocs,
|
||||||
|
@ -187,7 +187,9 @@ class ejabberd {
|
||||||
source => "puppet:///modules/ejabberd/ejabberd-httpd.conf",
|
source => "puppet:///modules/ejabberd/ejabberd-httpd.conf",
|
||||||
}
|
}
|
||||||
|
|
||||||
configwebhost { $ejabberd_webhosts: }
|
configwebhost { $ejabberd_webhosts:
|
||||||
|
htdocs => $htdocs,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -106,7 +106,7 @@ class vsroom::common {
|
||||||
require => Python::Setup::Install["/usr/local/src/vsroom"],
|
require => Python::Setup::Install["/usr/local/src/vsroom"],
|
||||||
}
|
}
|
||||||
|
|
||||||
define configwebhost() {
|
define configwebhost($htdocs) {
|
||||||
file { "/srv/www/https/${name}/vsroom":
|
file { "/srv/www/https/${name}/vsroom":
|
||||||
ensure => link,
|
ensure => link,
|
||||||
target => $htdocs,
|
target => $htdocs,
|
||||||
|
@ -120,7 +120,9 @@ class vsroom::common {
|
||||||
source => "puppet:///modules/vsroom/vsroom-httpd.conf",
|
source => "puppet:///modules/vsroom/vsroom-httpd.conf",
|
||||||
}
|
}
|
||||||
|
|
||||||
configwebhost { $vsroom_webhosts: }
|
configwebhost { $vsroom_webhosts:
|
||||||
|
htdocs => $htdocs,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue