3fd190ed4e
Secret info should be parameters to modules. It makes for easier testing. Change-Id: I66034387094b2a24c6fae57fec3af1dae3dd1d3a
22 lines
552 B
Puppet
22 lines
552 B
Puppet
class openstack_project::lists($listadmins) {
|
|
# 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]
|
|
}
|
|
|
|
class { 'exim':
|
|
sysadmin => $listadmins,
|
|
mailman_domains => ['lists.openstack.org'],
|
|
}
|
|
|
|
class { 'mailman':
|
|
mailman_host => 'lists.openstack.org'
|
|
}
|
|
|
|
realize (
|
|
User::Virtual::Localuser["oubiwann"],
|
|
)
|
|
}
|