A minimal Puppet module for installing and managing the GNU accounting utilities.
Example Usage
Manifest example:
include acct
Hiera example:
acct::defaults:
enable: true
logging: 30
acct::manage_defaults: true
acct::service_enable: true
acct::service_ensure: running
acct::service_manage: true
Default Configuration
---
acct::defaults:
enable: true
logging: 30
acct::manage_defaults: true
acct::package_ensure: installed
acct::package_manage: true
acct::service_enable: true
acct::service_ensure: running
acct::service_manage: true
---
acct::package_name: acct
acct::service_name: acct
---
acct::package_name: psacct
acct::service_name: psacct
Reference
Table of Contents
Classes
Public Classes
acct
: GNU Accounting Utilities
Private Classes
acct::config
: configurationacct::package
: package managementacct::service
: service management
Data types
Acct::Defaults
: Default configuration types
Classes
acct
GNU Accounting Utilities
Parameters
The following parameters are available in the acct
class:
defaults
manage_defaults
package_name
package_ensure
package_manage
service_enable
service_name
service_ensure
service_manage
defaults
Data type: Acct::Defaults
acct defaults configuration
manage_defaults
Data type: Boolean
Manage the acct defaults file (/etc/default/acct)
package_name
Data type: String[1]
The package name
package_ensure
Data type: String
The package ensure state
package_manage
Data type: Boolean
If the package should be managed
service_enable
Data type: Boolean
The service enable state
service_name
Data type: String[1]
The service name to use
service_ensure
Data type: Enum['stopped', 'running']
The service ensure state
service_manage
Data type: Boolean
If the auditd service should be managed
Data types
Acct::Defaults
Default configuration types
Alias of
Struct[{
Optional['enable'] => Boolean,
Optional['logging'] => Integer,
}]