From 4130e36823b96d2d8d7701b72c26c71b4d12fdbf Mon Sep 17 00:00:00 2001 From: ts Date: Thu, 5 Dec 2019 14:53:00 +0000 Subject: [PATCH] auditbeat pp --- modules/utilities/unix/logging/auditbeat/manifests/config.pp | 4 ++-- modules/utilities/unix/logging/auditbeat/manifests/init.pp | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/utilities/unix/logging/auditbeat/manifests/config.pp b/modules/utilities/unix/logging/auditbeat/manifests/config.pp index d577defc1..d87b10261 100644 --- a/modules/utilities/unix/logging/auditbeat/manifests/config.pp +++ b/modules/utilities/unix/logging/auditbeat/manifests/config.pp @@ -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', } } diff --git a/modules/utilities/unix/logging/auditbeat/manifests/init.pp b/modules/utilities/unix/logging/auditbeat/manifests/init.pp index 3b061d116..58301010c 100644 --- a/modules/utilities/unix/logging/auditbeat/manifests/init.pp +++ b/modules/utilities/unix/logging/auditbeat/manifests/init.pp @@ -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