nm.d.o no longer needs access to projectb on bmdb1
[mirror/dsa-puppet.git] / modules / roles / manifests / www_master.pp
1 class roles::www_master {
2   include apache2
3
4   ssl::service { 'www-master.debian.org':
5     notify => Exec['service apache2 reload'],
6     key    => true,
7   }
8
9   $vhost_listen = '*:80'
10   $vhost_listen_443 = '*:443'
11   $redirect_vhosts = false
12   $wwwdo_server_name = 'www-staging.debian.org'
13   $wwwdo_document_root = '/srv/www.debian.org/www'
14   apache2::site { '005-www-staging.debian.org':
15     site    => 'www-staging.debian.org',
16     content => template('roles/apache-www.debian.org.erb'),
17   }
18
19   ssl::service { 'www-staging.debian.org' :
20     notify => Exec['service apache2 reload'],
21     key    => true,
22   }
23
24   # tell the mail-relays to forward this domain to us
25   exim::manualroute{ 'www-master.debian.org': }
26   # and then handle it locally
27   exim::vdomain { 'www-master.debian.org':
28     owner   => 'debwww',
29     group   => 'debwww',
30     maildir => '/srv/www.debian.org/mail',
31   }
32 }