Register manualroutes from the service class for the three services that had it hardc...
[mirror/dsa-puppet.git] / modules / roles / manifests / tracker.pp
index 930e164..e2ed250 100644 (file)
@@ -1,5 +1,7 @@
 class roles::tracker {
   include apache2
+  include roles::sso_rp
+
   package { 'libapache2-mod-wsgi-py3': ensure => installed, }
   apache2::module { 'wsgi': require => Package['libapache2-mod-wsgi-py3'] }
   ssl::service { 'tracker.debian.org':
@@ -7,4 +9,12 @@ class roles::tracker {
     key    => true,
   }
   onion::service { 'tracker.debian.org': port => 80, target_address => 'tracker.debian.org', target_port => 80, direct => true }
+
+  # tell the mail-relays to forward this domain to us
+  exim::manualroute{ 'tracker.debian.org': }
+  # and then handle it locally
+  exim::vdomain { 'tracker.debian.org':
+    owner => 'qa',
+    group => 'qa',
+  }
 }