postfix: Attempt a chain fix.
This commit is contained in:
parent
5f3e6c481c
commit
b20d06b37f
2 changed files with 18 additions and 0 deletions
|
@ -32,6 +32,9 @@
|
|||
# $postfix_cert:
|
||||
# Path to SSL certificate. Defaults to puppet client certificate.
|
||||
#
|
||||
# $postfix_chain:
|
||||
# Path to intermediary CA cert.
|
||||
#
|
||||
# $postgrey:
|
||||
# Whether to run postgrey or not.
|
||||
#
|
||||
|
@ -81,6 +84,18 @@ class postfix {
|
|||
notify => Service["postfix"],
|
||||
}
|
||||
|
||||
if $postfix_chain {
|
||||
file { "${ssl::certs}/chain.crt":
|
||||
ensure => present,
|
||||
source => $postfix_chain,
|
||||
mode => "0644",
|
||||
owner => "root",
|
||||
group => "root",
|
||||
require => Package["postfix"],
|
||||
notify => Service["postfix"],
|
||||
}
|
||||
}
|
||||
|
||||
file { "${ssl::private}/postfix.key":
|
||||
ensure => present,
|
||||
source => $postfix_key,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue