system-config/modules/openstack_project/manifests/lists.pp
Flaper Fesp 3d136e613f Adding the list for OpenStack discussions in Spanish
Change-Id: I8208bba0dfaad67ae9050b1939064a4fd5686967
Reviewed-on: https://review.openstack.org/30495
Reviewed-by: David Ripton <dripton@redhat.com>
Reviewed-by: Stefano Maffulli <stefano@openstack.org>
Reviewed-by: Tom Fifield <fifieldt@unimelb.edu.au>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2013-05-28 15:40:18 +00:00

58 lines
1.5 KiB
Puppet

# == Class: openstack_project::lists
#
class openstack_project::lists(
$listadmins,
$listpassword = ''
) {
# Using openstack_project::template instead of openstack_project::server
# because the exim config on this machine is almost certainly
# going to be more complicated than normal.
class { 'openstack_project::template':
iptables_public_tcp_ports => [25, 80, 465],
}
$listdomain = 'lists.openstack.org'
class { 'exim':
sysadmin => $listadmins,
mailman_domains => [$listdomain],
}
class { 'mailman':
vhost_name => $listdomain,
}
realize (
User::Virtual::Localuser['oubiwann'],
User::Virtual::Localuser['rockstar'],
User::Virtual::Localuser['smaffulli'],
)
maillist { 'openstack-it':
ensure => present,
admin => 'stefano@openstack.org',
password => $listpassword,
description => 'Discussioni su OpenStack in italiano',
webserver => $listdomain,
mailserver => $listdomain,
}
maillist { 'openstack-vi':
ensure => present,
admin => 'hang.tran@dtt.vn',
password => $listpassword,
description => 'Discussions in Vietnamese - please add Vietnamese translation here',
webserver => $listdomain,
mailserver => $listdomain,
}
maillist { 'openstack-es':
ensure => present,
admin => 'flavio@redhat.com',
password => $listpassword,
description => 'Lista de correo acerca de OpenStack en español',
webserver => $listdomain,
mailserver => $listdomain,
}
}