Move admin.d.o setup to template
authorTollef Fog Heen <tfheen@err.no>
Thu, 12 Dec 2013 08:16:32 +0000 (09:16 +0100)
committerTollef Fog Heen <tfheen@err.no>
Thu, 12 Dec 2013 08:16:43 +0000 (09:16 +0100)
modules/exim/templates/virtualdomains.erb
modules/roles/manifests/mailrelay.pp

index b8bce8c..1d7ab77 100644 (file)
@@ -51,4 +51,5 @@ vdoms
 %>
 <% if classes.include?("roles::mailrelay") -%>
 debian.org: user=nobody group=Debian directory=/etc/exim4/email-virtualdomains/debian.org/mail
+admin.debian.org: user=mail_admin group=mail_admin directory=/etc/exim4/email-virtualdomains/admin.debian.org/mail
 <% end -%>
index 5ef8f96..57e2f44 100644 (file)
@@ -1,7 +1,2 @@
 class roles::mailrelay {
-       exim::vdomain { 'admin.debian.org':
-               user       => mail_admin,
-               group      => mail_admin,
-               alias_file => 'puppet:///modules/exim/admin.debian.org/aliases'
-       }
 }