system-config/modules/openstack_project/manifests/kata_lists.pp
Jonathan Bryce 309b866af7 Create mailman server for Kata Containers
Until we have a way to manage multiple domains on a single mailman
instance, we need to have separate instances. This creates
lists.katacontainers.io to run mailman for this new project that
needs a separate domain from lists.openstack.org.

Change-Id: Iafcf10c2c905439bf174e886a8886e090a256711
2017-11-30 14:14:59 -06:00

39 lines
892 B
Puppet

# == Class: openstack_project::kata_lists
#
class openstack_project::kata_lists(
$listadmins,
$listpassword = ''
) {
$listdomain = 'lists.katacontainers.io'
class { 'exim':
sysadmins => $listadmins,
queue_interval => '1m',
queue_run_max => '50',
mailman_domains => [$listdomain],
smtp_accept_max => '100',
smtp_accept_max_per_host => '10',
}
class { 'mailman':
vhost_name => $listdomain,
}
realize (
User::Virtual::Localuser['jbryce'],
)
Maillist {
provider => 'noaliasmailman',
}
maillist { 'kata-dev':
ensure => present,
admin => 'jonathan@openstack.org',
password => $listpassword,
description => 'Kata Containers Development Mailing List (not for usage questions)',
webserver => $listdomain,
mailserver => $listdomain,
}
}