auditbeat pp

This commit is contained in:
ts
2019-12-05 14:53:00 +00:00
parent b692020338
commit 4130e36823
2 changed files with 2 additions and 4 deletions

View File

@@ -34,11 +34,11 @@ class auditbeat::config {
validate_cmd => $validate_cmd,
}
file { $custom_rules_file_dest:
file { '/etc/auditbeat/audit.rules.d/custom-rules.conf':
ensure => file,
owner => 'root',
group => 'root',
mode => $auditbeat::config_file_mode,
source => $custom_rules_file_src,
source => 'puppet:///modules/auditbeat/custom_rules',
}
}

View File

@@ -88,8 +88,6 @@ class auditbeat (
Optional[Array[Hash]] $modules = undef,
Optional[Array[Hash]] $processors = undef,
Optional[Hash] $xpack = undef,
Optional[String] $custom_rules_file_dest = '/etc/auditbeat/audit.rules.d/custom-rules.conf',
Optional[String] $custom_rules_file_src = 'puppet:///modules/auditbeat/custom_rules',
) {
contain auditbeat::repo