Puppet Class: sendmail::trusted_users
- Defined in:
- manifests/trusted_users.pp
Summary
Manage entries in the Sendmail trusted-users file.Overview
Do not declare this class directly. Use the ‘trusted_users` parameter of the `sendmail` class instead.
13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'manifests/trusted_users.pp', line 13
class sendmail::trusted_users (
Array[String] $trusted_users = [],
) {
include sendmail::params
file { $sendmail::params::trusted_users_file:
ensure => file,
owner => 'root',
group => $sendmail::params::sendmail_group,
mode => '0644',
content => join(suffix(sendmail::canonify_array($trusted_users), "\n")),
notify => Class['sendmail::service'],
}
}
|