class nodo::jabber inherits nodo::vserver { include ssl include ejabberd file { [ "/etc/ejabberd/ssl", "/etc/ejabberd/ssl/certs", "/etc/ejabberd/ssl/private" ]: ensure => directory, owner => "root", group => "ejabberd", mode => 0750, } # We use a concatenated cert file # http://site4fast.blogspot.com.br/2011/10/ejabberd-ssl-how-to.html ssl::cert { "cert-concat": owner => 'ejabberd', group => 'ejabberd', base => '/etc/ejabberd/ssl', notify => Service['ejabberd'], require => File['/etc/ejabberd/ssl/private'], } }