exim: build submission domain list dynamically
[mirror/dsa-puppet.git] / modules / roles / manifests / bugs_master.pp
1 class roles::bugs_master {
2   include roles::bugs_web
3
4   ssl::service { 'bugs-devel.debian.org': notify  => Exec['service apache2 reload'], key => true, }
5   ssl::service { 'bugs-master.debian.org': notify  => Exec['service apache2 reload'], key => true, }
6
7   # Note that there is also role specific config in exim4.conf
8   exim::vdomain { 'bugs.debian.org':
9     owner => 'debbugs',
10     group => 'debbugs',
11   }
12
13   # The bugs service accepts bug reports on the submission port
14   exim::submissiondomain { 'bugs.debian.org': }
15   ferm::rule::simple { 'bugs-submission':
16     description => 'Allow submission access from the world',
17     port        => 'submission',
18   }
19 }