blob: 8a4394df43fab002126c3ade9ee85ed5ecb070f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
class postfix {
package { postfix: }
service { 'postfix':
subscribe => Package['postfix'],
}
file { '/etc/postfix/main.cf':
require => Package['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'
}
}
|