Standardise a mailer setup
At least on Debian 10, use msmtp and install a basic configuration. Previously the network was using a mishmash of exim, sendmail or whatever happened to be installed. For the moment, install the config also on debian9, some of which are using ssmtp, which is no longer maintained in debian :(
This commit is contained in:
parent
7943f105dd
commit
10897aa03a
4 changed files with 27 additions and 1 deletions
|
@ -681,4 +681,14 @@ schedule { 'never':
|
|||
ip => '10.23.0.11',
|
||||
}
|
||||
|
||||
file { '/etc/aliases':
|
||||
ensure => 'present',
|
||||
source => 'puppet:///modules/rhizo_base/etc/aliases'
|
||||
}
|
||||
|
||||
file { '/etc/msmtprc':
|
||||
ensure => 'present',
|
||||
content => template('rhizo_base/msmtprc.erb')
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue