Create /srv/mailman
The multihost setup mailman setup assumes /srv/mailman is present which then causes failures in testing because we don't explicitly create this path. Fix that by managing the /srv/mailman path in puppet too. Change-Id: Ia378b098b672e471897c8397f2562fc21a327f38
This commit is contained in:
parent
858dbe1fd8
commit
61c3fded0a
@ -5,13 +5,19 @@ class mailman(
|
||||
$multihost = false,
|
||||
) {
|
||||
|
||||
include ::httpd
|
||||
include httpd
|
||||
|
||||
package { 'mailman':
|
||||
ensure => installed,
|
||||
}
|
||||
|
||||
if ($multihost) {
|
||||
file { '/srv/mailman':
|
||||
ensure => directory,
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => '0755',
|
||||
}
|
||||
file { '/etc/mailman/mm_cfg.py':
|
||||
ensure => present,
|
||||
owner => 'root',
|
||||
|
@ -35,7 +35,7 @@ define mailman::site (
|
||||
$default_url_host,
|
||||
$install_languages = ['en'])
|
||||
{
|
||||
include ::httpd
|
||||
include httpd
|
||||
|
||||
$root = "/srv/mailman/${name}"
|
||||
$dirs = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user