projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix tracker chain
[mirror/dsa-puppet.git]
/
modules
/
exim
/
manifests
/
mx.pp
diff --git
a/modules/exim/manifests/mx.pp
b/modules/exim/manifests/mx.pp
index
f719e62
..
54f1933
100644
(file)
--- a/
modules/exim/manifests/mx.pp
+++ b/
modules/exim/manifests/mx.pp
@@
-32,4
+32,14
@@
class exim::mx inherits exim {
package { 'nagios-plugins-standard':
ensure => installed,
}
package { 'nagios-plugins-standard':
ensure => installed,
}
+
+ if has_role('mailrelay') {
+ file { '/etc/cron.d/dsa-email-virtualdomains':
+ source => 'puppet:///modules/exim/dsa-email-virtualdomains.cron',
+ }
+ } else {
+ file { '/etc/cron.d/dsa-email-virtualdomains':
+ ensure => absent,
+ }
+ }
}
}