From 940d74debc8fccd5ab108516a4978c5ea24efe89 Mon Sep 17 00:00:00 2001 From: Lari Huttunen Date: Tue, 5 Mar 2013 17:09:00 +0100 Subject: [PATCH] postfix: Wrong value for the chain cert. --- postfix/manifests/init.pp | 2 +- postfix/templates/main.cf.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/postfix/manifests/init.pp b/postfix/manifests/init.pp index bd42e6c..becd6df 100644 --- a/postfix/manifests/init.pp +++ b/postfix/manifests/init.pp @@ -85,7 +85,7 @@ class postfix { } if $postfix_chain { - file { "${ssl::certs}/chain.crt": + file { "${ssl::certs}/postfix-chain.crt": ensure => present, source => $postfix_chain, mode => "0644", diff --git a/postfix/templates/main.cf.erb b/postfix/templates/main.cf.erb index 99e7b23..988ced7 100644 --- a/postfix/templates/main.cf.erb +++ b/postfix/templates/main.cf.erb @@ -732,7 +732,7 @@ smtpd_sasl_security_options = noanonymous # smtpd_use_tls=yes <% if has_variable?("postfix_chain") -%> -smtpd_tls_CAfile = <%= postfix_chain %> +smtpd_tls_CAfile = <%= scope.lookupvar('ssl::certs') %>/postfix-chain.crt <% end -%> smtpd_tls_cert_file=<%= scope.lookupvar('ssl::certs') %>/postfix.crt smtpd_tls_key_file=<%= scope.lookupvar('ssl::private') %>/postfix.key