ejabberd: Install libyaml

This commit is contained in:
Ossi Salmi 2015-09-12 01:04:16 +03:00
parent 0f5bb01b48
commit 39be11a9f6

View file

@ -103,10 +103,14 @@ class ejabberd(
if $package and versioncmp($package, 'ejabberd-13.10') >= 0 {
if $::operatingsystem != 'CentOS' {
fail("ejabberd ${package} not supported on ${::operatingsystem}")
fail("ejabberd ${package} not supported on ${::operatingsystem}")
}
$config = 'ejabberd.yml'
$erlang_solutions = true
package { 'libyaml':
ensure => installed,
before => Package['ejabberd'],
}
} else {
$config = 'ejabberd.cfg'
$erlang_solutions = false