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
This commit is contained in:
parent
87644f4369
commit
309b866af7
@ -307,6 +307,20 @@ node 'lists.openstack.org' {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Node-OS: trusty
|
||||||
|
node 'lists.katacontainers.io' {
|
||||||
|
class { 'openstack_project::server':
|
||||||
|
iptables_public_tcp_ports => [25, 80, 465],
|
||||||
|
manage_exim => false,
|
||||||
|
purge_apt_sources => false,
|
||||||
|
}
|
||||||
|
|
||||||
|
class { 'openstack_project::kata_lists':
|
||||||
|
listadmins => hiera('listadmins', []),
|
||||||
|
listpassword => hiera('listpassword'),
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
# Node-OS: trusty
|
# Node-OS: trusty
|
||||||
node 'paste.openstack.org' {
|
node 'paste.openstack.org' {
|
||||||
class { 'openstack_project::server':
|
class { 'openstack_project::server':
|
||||||
|
38
modules/openstack_project/manifests/kata_lists.pp
Normal file
38
modules/openstack_project/manifests/kata_lists.pp
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
# == 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,
|
||||||
|
}
|
||||||
|
}
|
@ -241,4 +241,12 @@ class openstack_project::users {
|
|||||||
gid => 2026,
|
gid => 2026,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@user::virtual::localuser { 'jbryce':
|
||||||
|
realname => 'Jonathan Bryce',
|
||||||
|
sshkeys => 'AAAAB3NzaC1yc2EAAAABIwAAAQEApFGM9q1gfiawBX5EnCQGxx2T1hwPDxrX2M64MfqcoBRpdrWRjxWm6Vhczfl+Ar2EQtGsuIm1QQiyiPL4zsJSQOfYXB0TqOQaAuFamSzZSNEm8coSa93E3zfXR9uln1lgCGutaWwH/KmGcSeAuuQCipKmKxc8QSAepGNP4Jx2L/EnXQh850xTQEIviJkJpA9oTRzXu12T7vzxsUCw041Q/KX16UvvGpt9IAoMAWFlQrMPzPFmqbUOIr7pRvv8TKcK9BNFS8S8jjT+wN0y/LY7cbTblgDfwSAl1P/naME5ugRVD5MZKixIE1F+x/j+M8+fpZ/EyR/6jSA3DYjEXOk2zQ==',
|
||||||
|
key_id => 'jbryce@jbryce-mbp-3.local',
|
||||||
|
uid => 2027,
|
||||||
|
gid => 2027,
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user