Fixed ejabberd and vsroom modules with Puppet 2.7
This commit is contained in:
parent
e43512adad
commit
c83dcc03f3
2 changed files with 16 additions and 15 deletions
|
@ -115,14 +115,15 @@ class vsroom {
|
|||
source => "puppet:///modules/vsroom/vsroom-httpd.conf",
|
||||
}
|
||||
|
||||
if $vsroom_webhosts {
|
||||
define configwebhost() {
|
||||
file { "/srv/www/https/${name}/vsroom":
|
||||
ensure => link,
|
||||
target => "/var/www/vsroom",
|
||||
require => File["/srv/www/https/${name}"],
|
||||
}
|
||||
define configwebhost() {
|
||||
file { "/srv/www/https/${name}/vsroom":
|
||||
ensure => link,
|
||||
target => "/var/www/vsroom",
|
||||
require => File["/srv/www/https/${name}"],
|
||||
}
|
||||
}
|
||||
|
||||
if $vsroom_webhosts {
|
||||
configwebhost { $vsroom_webhosts: }
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue