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