diff --git a/postfix/manifests/init.pp b/postfix/manifests/init.pp index b99f6da..d113c9b 100644 --- a/postfix/manifests/init.pp +++ b/postfix/manifests/init.pp @@ -71,6 +71,25 @@ class postfix { $postfix_interfaces = "localhost" } + file { "${ssl::certs}/postfix.crt": + ensure => present, + source => $postfix_cert, + mode => "0644", + owner => "root", + group => "root" + require => Package["postfix"], + notify => Service["postfix"], + } + + file { "${ssl::private}/postfix.key": + ensure => present, + source => $postfix_key, + mode => "0640", + owner => "root", + group => "root", + require => Package["postfix"], + notify => Service["postfix"], + } if $postgrey { case $::operatingsystem {