diff options
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 15 | ||||
-rw-r--r-- | manifests/satellite.pp | 3 |
2 files changed, 16 insertions, 2 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 3637cdd..cb5ca22 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -48,11 +48,14 @@ class postfix( $use_sympa = 'no', $use_firma = 'no', $use_mlmmj = 'no', + $use_postscreen = 'no', $use_submission = 'no', $use_smtps = 'no', $mastercf_tail = '', $inet_interfaces = 'all', $myorigin = $::fqdn, + $mailname = $::fqdn, + $preseed = false, $default_alias_maps = true ) { @@ -119,10 +122,20 @@ class postfix( include postfix::virtual_regexp } - package { ['postfix', 'mailx']: + package { 'mailx': ensure => installed } + if ( $preseed ) { + apt::preseeded_package { 'postfix': + ensure => installed, + } + } else { + package { 'postfix': + ensure => installed + } + } + if $::operatingsystem == 'debian' { Package[mailx] { name => 'bsd-mailx' } } diff --git a/manifests/satellite.pp b/manifests/satellite.pp index 45a40ad..c6c1a0e 100644 --- a/manifests/satellite.pp +++ b/manifests/satellite.pp @@ -21,7 +21,6 @@ # } # } # - class postfix::satellite( $relayhost = '', $valid_fqdn = $::fqdn, @@ -35,6 +34,8 @@ class postfix::satellite( class { 'postfix': root_mail_recipient => $root_mail_recipient, + myorigin => $valid_fqdn, + mailname => $valid_fqdn } class { 'postfix::mta': |