From 1f676cc2f722589f6575c9a1959a6a58877595be Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sun, 22 Sep 2019 10:05:08 +0200 Subject: [PATCH] Have the buildd_master role declare its exim virtualdomain --- modules/exim/templates/virtualdomains.erb | 2 -- modules/roles/manifests/buildd_master.pp | 5 +++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/exim/templates/virtualdomains.erb b/modules/exim/templates/virtualdomains.erb index 85da04b1a..645c425f8 100644 --- a/modules/exim/templates/virtualdomains.erb +++ b/modules/exim/templates/virtualdomains.erb @@ -1,7 +1,5 @@ <%= vdoms = case @fqdn - when "wuiet.debian.org" then "buildd.debian.org: user=wbadm group=wbadm directory=/srv/buildd.debian.org/mail" - when "nono.debian.org" then "nm.debian.org: user=nm group=nm directory=/srv/nm.debian.org/mail/" when "picconi.debian.org" then "packages.debian.org: user=pkg_user group=Debian directory=/srv/packages.debian.org/mail/" diff --git a/modules/roles/manifests/buildd_master.pp b/modules/roles/manifests/buildd_master.pp index c2c8dd60e..6b386200c 100644 --- a/modules/roles/manifests/buildd_master.pp +++ b/modules/roles/manifests/buildd_master.pp @@ -11,4 +11,9 @@ class roles::buildd_master { target_user => 'wb-buildd', collect_tag => 'buildd_master', } + + exim::vdomain { 'buildd.debian.org': + owner => 'wbadm', + group => 'wbadm', + } } -- 2.20.1