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.pp13
1 files changed, 12 insertions, 1 deletions
diff --git a/modules/postfix/manifests/init.pp b/modules/postfix/manifests/init.pp
index e13e86b5..8a4394df 100644
--- a/modules/postfix/manifests/init.pp
+++ b/modules/postfix/manifests/init.pp
@@ -1,5 +1,5 @@
class postfix {
- package { ['postfix', 'nail']: }
+ package { postfix: }
service { 'postfix':
subscribe => Package['postfix'],
@@ -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'
+ }
}