summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-01-05 14:50:52 -0200
committerSilvio Rhatto <rhatto@riseup.net>2014-01-05 14:50:52 -0200
commit64d5d4f85b0d3978ac2dd736d38f1e8ec64bca43 (patch)
tree27f8f72d40ca0e854a9005da84fd50e19ad13f2f /manifests
parent457ab71355c9cb8f4bf14de84785e2d4672e5c51 (diff)
downloadpuppet-mail-64d5d4f85b0d3978ac2dd736d38f1e8ec64bca43.tar.gz
puppet-mail-64d5d4f85b0d3978ac2dd736d38f1e8ec64bca43.tar.bz2
Use data_directory for {smtp,smtpd}_tls_session_cache_database
Diffstat (limited to 'manifests')
-rw-r--r--manifests/tls/hardened.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/tls/hardened.pp b/manifests/tls/hardened.pp
index 04ffec5..67f68da 100644
--- a/manifests/tls/hardened.pp
+++ b/manifests/tls/hardened.pp
@@ -5,8 +5,8 @@ class mail::tls::hardened inherits mail::tls {
postfix::config { "smtp_tls_note_starttls_offer": value => 'yes' }
postfix::config { "smtpd_tls_received_header": value => 'yes' }
postfix::config { "smtpd_tls_mandatory_protocols": value => 'TLSv1' }
- postfix::config { "smtpd_tls_session_cache_database": value => 'btree:${queue_directory}/smtpd_scache' }
- postfix::config { "smtp_tls_session_cache_database": value => 'btree:${queue_directory}/smtp_scache' }
+ postfix::config { "smtpd_tls_session_cache_database": value => 'btree:${data_directory}/smtpd_scache' }
+ postfix::config { "smtp_tls_session_cache_database": value => 'btree:${data_directory}/smtp_scache' }
# DH parameters
postfix::config { "smtpd_tls_eecdh_grade": value => 'strong' }