diff options
-rw-r--r-- | manifests/init.pp | 2 | ||||
-rw-r--r-- | manifests/system.pp | 4 | ||||
-rw-r--r-- | manifests/system/params.pp | 4 |
3 files changed, 2 insertions, 8 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index d30a0ac..2d95107 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -1,5 +1,3 @@ # # Mail module # - -include mail::system::params diff --git a/manifests/system.pp b/manifests/system.pp index ec17ac7..7d347f0 100644 --- a/manifests/system.pp +++ b/manifests/system.pp @@ -1,7 +1,7 @@ class mail::system( $mydestination = hiera('mail::mydestination', '$myhostname, localhost.$mydomain, localhost'), $relay_domains = hiera('mail::relay_domains', ''), - $mynetworks = hiera('mail::postfix_mynetworks', $mail::system::params::postfix_mynetworks), + $mynetworks = hiera('mail::postfix_mynetworks', "127.0.0.0/8"), $root_mail_recipient = hiera('mail::root_mail_recipient', 'nobody') ) { @@ -37,7 +37,7 @@ class mail::system( manage_transport_regexp => "yes", manage_virtual_regexp => "yes", manage_header_checks => "yes", - manage_tls_policy => hiera('mail::postfix_manage_tls_policy', $mail::system::params::postfix_manage_tls_policy) + manage_tls_policy => hiera('mail::postfix_manage_tls_policy', 'no') } # SSL support diff --git a/manifests/system/params.pp b/manifests/system/params.pp deleted file mode 100644 index b5ce4e9..0000000 --- a/manifests/system/params.pp +++ /dev/null @@ -1,4 +0,0 @@ -class mail::system::params { - $postfix_mynetworks = "127.0.0.0/8" - $postfix_manage_tls_policy = 'no' -} |