aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postfix/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/postfix/manifests/init.pp')
-rw-r--r--modules/postfix/manifests/init.pp11
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'
+ }
}