summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 11f6681..77d26ba 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -53,6 +53,7 @@ class postfix(
$mastercf_tail = "",
$inet_interfaces = 'all',
$myorigin = $::fqdn,
+ $mailname = $::fqdn,
$preseed = false
) {
@@ -124,7 +125,7 @@ class postfix(
file { "/etc/mailname":
ensure => present,
- content => "${fqdn}\n",
+ content => "${mailname}\n",
seltype => $postfix_seltype,
}