blob: f406ad34bb7b5dec7ad0fa8f51ae45f4503ab744 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
class site_postfix::mx::checks {
file {
'/etc/postfix/checks':
ensure => directory,
mode => '0755',
owner => root,
group => postfix,
require => Package['postfix'];
'/etc/postfix/checks/helo_checks':
content => template('site_postfix/checks/helo_access.erb'),
mode => '0644',
owner => root,
group => root;
}
exec {
'/usr/sbin/postmap /etc/postfix/checks/helo_checks':
refreshonly => true,
subscribe => File['/etc/postfix/checks/helo_checks'];
}
}
|