diff options
author | Dan Fandrich <danf@mageia.org> | 2024-02-09 00:53:52 -0800 |
---|---|---|
committer | Dan Fandrich <danf@mageia.org> | 2024-02-09 00:59:17 -0800 |
commit | ef8883f73a36ead4c26a42b413baa913c008cfa6 (patch) | |
tree | f53151ebc91045e5caff1999cd0e8f4d3e60cd4c /modules/postfix/manifests/init.pp | |
parent | b9c41d8557238553e4e075245539e49aea91fe43 (diff) | |
download | puppet-ef8883f73a36ead4c26a42b413baa913c008cfa6.tar puppet-ef8883f73a36ead4c26a42b413baa913c008cfa6.tar.gz puppet-ef8883f73a36ead4c26a42b413baa913c008cfa6.tar.bz2 puppet-ef8883f73a36ead4c26a42b413baa913c008cfa6.tar.xz puppet-ef8883f73a36ead4c26a42b413baa913c008cfa6.zip |
Create a self-signed certificate for incoming mail (mga#29514)
This still needs to be enabled once it's checked.
Diffstat (limited to 'modules/postfix/manifests/init.pp')
-rw-r--r-- | modules/postfix/manifests/init.pp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/postfix/manifests/init.pp b/modules/postfix/manifests/init.pp index 7a6f6389..8a4394df 100644 --- a/modules/postfix/manifests/init.pp +++ b/modules/postfix/manifests/init.pp @@ -10,4 +10,15 @@ class postfix { content => '', notify => Service['postfix'], } + + file { '/etc/ssl/postfix/': + ensure => directory, + } + + openssl::self_signed_splitted_cert { "${::hostname}.${::domain}": + filename => 'postfix', + directory => '/etc/ssl/postfix/', + owner => 'postfix', + group => 'postfix' + } } |