]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Only put dsa-email-virtualdomains on the MX-es, not all machines
authorTollef Fog Heen <tfheen@err.no>
Sun, 6 Oct 2013 19:57:09 +0000 (21:57 +0200)
committerTollef Fog Heen <tfheen@err.no>
Sun, 6 Oct 2013 19:57:09 +0000 (21:57 +0200)
modules/exim/manifests/init.pp
modules/exim/manifests/mx.pp

index 222b805112852868297ce9b14a13d137cdb00ed5..462875350f8c482f2d0fc81fe3137531d180c371 100644 (file)
@@ -28,9 +28,6 @@ class exim {
                ]
        }
 
-       file { '/etc/cron.d/dsa-email-virtualdomains':
-               source => 'puppet:///modules/exim/dsa-email-virtualdomains.cron',
-       }
        file { '/etc/exim4/':
                ensure  => directory,
                mode    => '0755',
index f719e628c2c996c95b89ef2f9c1f0c8970fc904a..e035abb73580f86139e26d282a0dc67f66622ab0 100644 (file)
@@ -32,4 +32,8 @@ class exim::mx inherits exim {
        package { 'nagios-plugins-standard':
                ensure => installed,
        }
+
+       file { '/etc/cron.d/dsa-email-virtualdomains':
+               source => 'puppet:///modules/exim/dsa-email-virtualdomains.cron',
+       }
 }