Partially migrate the mailrelay role. ferm still needs the old style.
[mirror/dsa-puppet.git] / modules / exim / manifests / mx.pp
index 34558a3..e60cfb7 100644 (file)
@@ -35,7 +35,7 @@ class exim::mx inherits exim {
                ensure => installed,
        }
 
-       if has_role('mailrelay') {
+       if $exim::is_mailrelay {
                concat::fragment { 'puppet-crontab--email-virtualdomains':
                        target => '/etc/cron.d/puppet-crontab',
                        content  => @(EOF)