diff options
Diffstat (limited to 'modules/ssmtp')
| -rw-r--r-- | modules/ssmtp/manifests/init.pp | 12 | ||||
| -rw-r--r-- | modules/ssmtp/templates/ssmtp.conf | 6 |
2 files changed, 6 insertions, 12 deletions
diff --git a/modules/ssmtp/manifests/init.pp b/modules/ssmtp/manifests/init.pp index 922a451e..fa4b94d2 100644 --- a/modules/ssmtp/manifests/init.pp +++ b/modules/ssmtp/manifests/init.pp @@ -1,13 +1,7 @@ class ssmtp { - package { ssmtp: - ensure => installed, - } + package { 'ssmtp': } - file { "ssmtp.conf": - path => "/etc/ssmtp/ssmtp.conf", - owner => root, - group => root, - mode => 644, - content => template("ssmtp/ssmtp.conf") + file { '/etc/ssmtp/ssmtp.conf': + content => template('ssmtp/ssmtp.conf') } } diff --git a/modules/ssmtp/templates/ssmtp.conf b/modules/ssmtp/templates/ssmtp.conf index b535bc29..d7a9125f 100644 --- a/modules/ssmtp/templates/ssmtp.conf +++ b/modules/ssmtp/templates/ssmtp.conf @@ -1,9 +1,9 @@ -root=mageia-sysadm@<%= domain %> +root=mageia-sysadm@<%= @domain %> -mailhub=mx.<%= domain %> +mailhub=mx.<%= @domain %> rewriteDomain= # The full hostname -hostname=<%= fqdn %> +hostname=<%= @fqdn %> |
