Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

Improvement syslog class #40

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,11 @@ You can change the `args` for this plugin:
```puppet
include '::auditd'
class { '::auditd::audisp::syslog':
# Default value is false, which will keep remain disabled logging
# to syslog even though you call class '::auditd::audisp::syslog'
active => true,
# LOG_INFO is actually the default...
args => 'LOG_INFO',
args => 'LOG_INFO',
}
```

Expand Down
2 changes: 1 addition & 1 deletion manifests/audisp/plugin.pp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
define auditd::audisp::plugin (
$active = true,
$active = false,
$direction = 'out',
$path = undef,
$type = 'always',
Expand Down
4 changes: 3 additions & 1 deletion manifests/audisp/syslog.pp
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
class auditd::audisp::syslog (
$args = 'LOG_INFO',
$active = flase,
$args = 'LOG_INFO',

) {

auditd::audisp::plugin { 'syslog':
path => 'builtin_syslog',
type => 'builtin',
active => $active,
args => $args,
require => Package['auditd'],
}
Expand Down