7d2e46864b
Change-Id: I7db877287d2462799e581faffd76ec6ff4d57b3f
48 lines
1.2 KiB
Puppet
48 lines
1.2 KiB
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,
|
|
}
|
|
|
|
maillist { 'kata-hypervisor':
|
|
ensure => present,
|
|
admin => 'jonathan@openstack.org',
|
|
password => $listpassword,
|
|
description => 'Discussion of security and virtualization targeted at container use cases',
|
|
webserver => $listdomain,
|
|
mailserver => $listdomain,
|
|
}
|
|
}
|