X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fexim%2Fmanifests%2Finit.pp;h=a8868507ddc4670d4431d1c2ad037a7eea719e26;hb=14db07797701c9487e9ff44b899f2653ed4daec5;hp=712526f4e34cf8d0463e022670c6cde50b42752d;hpb=d84da554d7c0c3d60ab7ca094e2e738cd0e4d494;p=mirror%2Fdsa-puppet.git diff --git a/modules/exim/manifests/init.pp b/modules/exim/manifests/init.pp index 712526f4e..a8868507d 100644 --- a/modules/exim/manifests/init.pp +++ b/modules/exim/manifests/init.pp @@ -18,11 +18,10 @@ class exim { purge => true ; "/etc/exim4/exim4.conf": - source => [ "puppet:///exim/per-host/$fqdn/exim4.conf", - "puppet:///exim/common/exim4.conf" ], + content => template("exim/eximconf.erb"), require => Package["exim4-daemon-heavy"], notify => Exec["exim4 reload"] - ; + ; "/etc/exim4/manualroute": require => Package["exim4-daemon-heavy"], source => [ "puppet:///exim/per-host/$fqdn/manualroute", @@ -50,8 +49,7 @@ class exim { ; "/etc/exim4/locals": require => Package["exim4-daemon-heavy"], - source => [ "puppet:///exim/per-host/$fqdn/locals", - "puppet:///exim/common/locals" ] + content => template("exim/locals.erb") ; "/etc/exim4/localusers": require => Package["exim4-daemon-heavy"], @@ -138,8 +136,3 @@ class exim { refreshonly => true, } } - -class eximmx inherits exim { - include clamav - include postgrey -}