Puppet Class: isp3node::dovecot::ssl
- Defined in:
-
manifests/dovecot/ssl.pp
Summary
Configure Dovecot to use local managed SSL Certificates
Overview
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# File 'manifests/dovecot/ssl.pp', line 5
class isp3node::dovecot::ssl {
$dovecot_settings = {'' => {
ssl_cert => "</etc/ssl/local/${facts['fqdn']}.bundle.crt",
ssl_key => "</etc/ssl/local/${facts['fqdn']}.key",
ssl_dh => '</etc/ssl/local/dhparam.pem',
}}
create_ini_settings($dovecot_settings, {
path => '/etc/dovecot/dovecot.conf',
notify => Service['dovecot'],
})
unless (lookup('isp3node::base::ssl::letsencrypt', undef, undef, false)){
File["/etc/ssl/local/${facts['fqdn']}.bundle.crt"] ~> Service['dovecot']
}
}
|