Colleen Murphy 4a0e77be6a Redefine $listdomain for kata lists
The $listdomain variable being used by the maillist resource was
undefined in bab6fcad3. Redefine it.

Change-Id: I4a637cc3e5b0a5c893efe463cb179ce71762b4af
2018-09-11 23:54:17 +02:00

35 lines
857 B
Puppet

# == Class: openstack_project::kata_lists
#
class openstack_project::kata_lists(
$listpassword = ''
) {
$listdomain = 'lists.katacontainers.io'
class { 'mailman':
vhost_name => $listdomain,
}
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,
}
}