]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/blame - modules/profile/manifests/mail.pp
Add default target for e-mails
[perso/Immae/Projets/Puppet.git] / modules / profile / manifests / mail.pp
CommitLineData
82caf311
IB
1class profile::mail (
2 String $mailhub,
3 Optional[Integer] $mailhub_port = 25,
528b0cf9 4 Optional[String] $default_target = "postmaster",
82caf311
IB
5) {
6 ensure_packages(["s-nail", "ssmtp"])
7
8 $hostname = lookup("base_installation::real_hostname")
9
10 file { "/etc/ssmtp/ssmtp.conf":
11 ensure => "present",
12 content => template("profile/mail/ssmtp.conf.erb"),
13 }
14}
15