}
- concat { '/etc/exim4/manualroute-new':
- mode => '0444',
- ensure_newline => true,
- warn => '# This file is maintained with puppet',
- require => Package['exim4-daemon-heavy']
+ file { '/etc/exim4/manualroute-new':
+ ensure => absent,
}
+ #concat { '/etc/exim4/manualroute-new':
+ # mode => '0444',
+ # ensure_newline => true,
+ # warn => '# This file is maintained with puppet',
+ # require => Package['exim4-daemon-heavy']
+ #}
- Concat::Fragment <<| tag == 'exim::manualroute::to::mailrelay' |>>
+ #Concat::Fragment <<| tag == 'exim::manualroute::to::mailrelay' |>>
}
@@concat::fragment { "manualroute-to-${::fqdn}":
tag => 'exim::manualroute::to::mailrelay',
- target => '/etc/exim4/manualroute-new',
+ target => '/etc/exim4/manualroute',
content => $mailport == undef ? {
true => "${::fqdn}: ${::fqdn}",
default => "${::fqdn}: ${::fqdn}::${mailport}",