Skip to content
Snippets Groups Projects
Commit 05880bc9 authored by Andreas Kempe's avatar Andreas Kempe
Browse files

cronmailer: install msmtp-mta on Debian

parent 4b988b9e
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,15 @@ class profiles::cronmailer {
file_line { 'create root alias':
ensure => present,
path => '/etc/aliases',
line => "root: root+${hostname}@lysator.liu.se",
line => "root: root+${::hostname}@lysator.liu.se",
match => '^root:',
}
case $facts['os']['family'] {
'Debian': {
package { 'msmtp-mta':
ensure => installed,
}
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment