Puppet Class: acct
- Defined in:
- modules/acct/manifests/init.pp
Summary
Manages the process and login accounting systemOverview
SPDX-License-Identifier: Apache-2.0
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'modules/acct/manifests/init.pp', line 4
class acct (
Boolean $manage_logrotate,
) {
package { 'acct':
ensure => installed,
}
if $manage_logrotate {
logrotate::conf { 'pacct':
source => 'puppet:///modules/acct/pacct.logrotate',
}
}
service { 'acct':
ensure => running,
enable => true,
}
}
|