Colleen Murphy 1a8c4b9e6a Add beaker tests for custom providers
Add tests to ensure the mailman_list and maillist providers work as
expected.

Change-Id: I7b54a364f55bde50390fef5eb017576285e59458
2018-09-11 23:19:00 +02:00

31 lines
950 B
Puppet

vcsrepo { '/opt/system-config':
ensure => present,
source => 'git://git.openstack.org/openstack-infra/system-config',
provider => git,
}
file { '/srv/mailman/openstack/templates/en':
ensure => directory,
owner => 'root',
group => 'list',
mode => '0644',
recurse => true,
require => File['/srv/mailman/openstack/templates'],
source => '/opt/system-config/modules/openstack_project/files/mailman/html-templates-en',
}
class { 'mailman':
multihost => true,
}
mailman::site { 'openstack':
default_email_host => 'lists.openstack.org',
default_url_host => 'lists.openstack.org',
install_languages => ['de', 'fr', 'it', 'ko', 'ru', 'vi', 'zh_TW'],
require => Class['mailman'],
}
mailman_list { 'mailman@openstack':
require => Mailman::Site['openstack'],
ensure => present,
admin => 'nobody@openstack.org',
password => 'listpassword',
description => 'The mailman site list',
}