diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-03-06 19:20:52 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-03-06 19:23:37 +0100 |
commit | 8093d467c2f81afe4d321d0547e2cfc2c4067f57 (patch) | |
tree | 343c82e494537d0d3c5e76205bb24a0251292f66 /modules/profile/manifests | |
parent | 367c391a61091817cf34475f91a23ca286eec334 (diff) | |
download | Puppet-8093d467c2f81afe4d321d0547e2cfc2c4067f57.tar.gz Puppet-8093d467c2f81afe4d321d0547e2cfc2c4067f57.tar.zst Puppet-8093d467c2f81afe4d321d0547e2cfc2c4067f57.zip |
Fix ssmtp for mail cofniguration
Diffstat (limited to 'modules/profile/manifests')
-rw-r--r-- | modules/profile/manifests/mail.pp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/profile/manifests/mail.pp b/modules/profile/manifests/mail.pp index 0b4a7a5..ee295dd 100644 --- a/modules/profile/manifests/mail.pp +++ b/modules/profile/manifests/mail.pp | |||
@@ -5,7 +5,10 @@ class profile::mail ( | |||
5 | ) { | 5 | ) { |
6 | ensure_packages(["s-nail", "ssmtp"]) | 6 | ensure_packages(["s-nail", "ssmtp"]) |
7 | 7 | ||
8 | $hostname = lookup("base_installation::real_hostname") | 8 | $mail_host = "mail.immae.eu" |
9 | $password_seed = lookup("base_installation::puppet_pass_seed") | ||
10 | $ldap_password = generate_password(24, $password_seed, "ldap") | ||
11 | $ldap_cn = lookup("base_installation::ldap_cn") | ||
9 | 12 | ||
10 | file { "/etc/ssmtp/ssmtp.conf": | 13 | file { "/etc/ssmtp/ssmtp.conf": |
11 | ensure => "present", | 14 | ensure => "present", |