Simply exim config slightly by checking for roles in manifest
[mirror/dsa-puppet.git] / modules / exim / manifests / init.pp
index 4628753..e5b051b 100644 (file)
@@ -1,5 +1,12 @@
 class exim {
 
+       $is_mailrelay = has_role('mailrelay')
+       $is_bugsmaster = has_role('bugsmaster')
+       $is_bugsmx = has_role('bugsmx')
+       $is_rtmaster = has_role('rtmaster')
+       $is_packagesmaster = has_role('packagesmaster')
+       $is_packagesqamaster = has_role('packagesqamaster')
+
        include exim::vdomain::setup
 
        munin::check { 'ps_exim4': script => 'ps_' }