postfix.init.pp: Had forgotten the placement spec for the X.509 files.
This commit is contained in:
parent
c0a3a300a8
commit
145d04530b
1 changed files with 19 additions and 0 deletions
|
@ -71,6 +71,25 @@ class postfix {
|
||||||
$postfix_interfaces = "localhost"
|
$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 {
|
if $postgrey {
|
||||||
case $::operatingsystem {
|
case $::operatingsystem {
|
||||||
|
|
Loading…
Add table
Reference in a new issue