X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fexim%2Fmanifests%2Finit.pp;h=d5c679ac2bb99978f5dae4587f1bf336e0f3d15f;hb=834425d3c20f96adefed1d45417d6368caedc091;hp=265fda1dd85a5b86c7ba1571f08b8f38e8119e9d;hpb=53a899f0a3ebba800bf6c181821cf3d995b2c51e;p=mirror%2Fdsa-puppet.git diff --git a/modules/exim/manifests/init.pp b/modules/exim/manifests/init.pp index 265fda1dd..d5c679ac2 100644 --- a/modules/exim/manifests/init.pp +++ b/modules/exim/manifests/init.pp @@ -1,6 +1,6 @@ class exim { - package { exim4-daemon-heavy: ensure => latest } + package { exim4-daemon-heavy: ensure => installed } file { "/etc/exim4/": @@ -94,29 +94,6 @@ class exim { } class eximmx inherits exim { - package { "clamav-daemon": ensure => latest; - "postgrey": ensure => installed; - } - - file { - "/etc/default/postgrey": - source => "puppet:///exim/common/postgrey-default", - require => Package["postgrey"], - notify => Exec["postgrey restart"] - ; - "/etc/clamav/clamd.conf": - source => "puppet:///exim/common/clamd.conf", - require => Package["clamav-daemon"], - notify => Exec["clamav-daemon restart"] - ; - } - - exec { "clamav-daemon restart": - path => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin", - refreshonly => true, - } - exec { "postgrey restart": - path => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin", - refreshonly => true, - } + include clamav + include postgrey }