blob: dcf0f8b86e4fcd46da2d3723042954febd0fd572 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
define opendkim::trusted (
$host = $name,
$trusted_hosts = 'TrustedHosts',
) {
# Add line into KeyTable
file_line { "${opendkim::pathconf}/${trusted_hosts}_${host}":
path => "${opendkim::pathconf}/${trusted_hosts}",
line => $host,
notify => Service[$opendkim::service_name],
require => Package[$opendkim::package_name],
}
}
|