X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fexim%2Fmanifests%2Finit.pp;h=0064c8e78d211eb7fdb9bb0226865e8ee77083fe;hb=792334823a48d57f183541842d8fe4fd6488cde0;hp=adbaf4d472ac93c778e21bae8fe7a79a055d1516;hpb=e8a31a30d67a050678bc9ba1bd5fa551f9c08241;p=mirror%2Fdsa-puppet.git diff --git a/modules/exim/manifests/init.pp b/modules/exim/manifests/init.pp index adbaf4d47..0064c8e78 100644 --- a/modules/exim/manifests/init.pp +++ b/modules/exim/manifests/init.pp @@ -4,7 +4,7 @@ # @param is_bugsmx this system handles bugs.debian.org # @param is_mailrelay this system is a mailrelay, both in and out, for debian hosts # @param is_rtmaster this system handles rt.debian.org -# @param is_packagesmaster this system handles packagesrt.debian.org +# @param is_packagesmaster this system handles packages.debian.org # @param is_packagesqamaster this system handles packages.qa.debian.org # @param mail_port override the default incoming mailport (only applicable for hosts behind an incoming relay) # @param smarthost_port the port on which satellites send mail to the smarthost (needs to be the same on both sides) @@ -19,8 +19,6 @@ class exim ( Integer $smarthost_port = 587, Optional[Integer] $mail_port = undef, ) { - include exim::vdomain::setup - if $use_smarthost { $heavy = false @@ -46,12 +44,6 @@ class exim ( Package['exim4-daemon-heavy']->Mailalias<| |> - concat::fragment { 'virtual_domain_template': - target => '/etc/exim4/virtualdomains', - content => template('exim/virtualdomains.erb'), - order => '05', - } - service { 'exim4': ensure => running, require => [ @@ -87,9 +79,14 @@ class exim ( file { '/etc/mailname': content => template('exim/mailname.erb'), } - file { '/etc/exim4/manualroute': - content => template('exim/manualroute.erb') + + concat { '/etc/exim4/virtualdomains': } + concat::fragment { 'virtualdomains_header': + target => '/etc/exim4/virtualdomains', + content => template('exim/virtualdomains.header.erb'), + order => '00', } + file { '/etc/exim4/locals': content => template('exim/locals.erb') }