Change-Id: I34f0ed386c261c043991be8ed9f2a3228c60ede2
package{ 'exim4-daemon-light':
ensure => 'installed'
+ } ->
+ file{ '/etc/exim4/update-exim4.conf.conf':
+ ensure => 'file',
+ content => epp('exim/update-exim4.conf.conf'),
+ notify => Exec['/usr/sbin/update-exim4.conf']
+ }
+ exec{ '/usr/sbin/update-exim4.conf':
+ refreshonly => 'true',
+ notify => Service['exim4']
+ }
+ service{ 'exim4':
+ ensure => 'running'
}
}
--- /dev/null
+dc_eximconfig_configtype='internet'
+dc_other_hostnames='exim'
+dc_local_interfaces='127.0.0.1 ; ::1 ; <%=$ips[exim]%>'
+dc_readhost='exim'
+dc_relay_domains=''
+dc_minimaldns='false'
+dc_relay_nets='<%=$ips[gigi]%>/32'
+dc_smarthost=''
+CFILEMODE='644'
+dc_use_split_config='false'
+dc_hide_mailname='true'
+dc_mailname_in_oh='true'
+dc_localdelivery='mail_spool'