summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-03-25 01:51:37 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-03-25 01:51:37 -0300
commit5ed90e97bd48a6eba9a9aefff415783d3f691db4 (patch)
treeaca023cb9ce6dedc102831fe3fd1b313181516a3 /manifests
parent43ee6682ec3b1b550379ab8e9a3f96244bb9062f (diff)
downloadpuppet-mail-5ed90e97bd48a6eba9a9aefff415783d3f691db4.tar.gz
puppet-mail-5ed90e97bd48a6eba9a9aefff415783d3f691db4.tar.bz2
Remove mail::system::params
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp2
-rw-r--r--manifests/system.pp4
-rw-r--r--manifests/system/params.pp4
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'
-}