Defined Type: wazuh::addlog
- Defined in:
- manifests/addlog.pp
Overview
Copyright © 2015, Wazuh Inc. Define a log-file to add to ossec
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'manifests/addlog.pp', line 3
define wazuh::addlog (
$logfile = undef,
$logtype = 'syslog',
$logcommand = undef,
$commandalias = undef,
$frequency = undef,
$target_arg = 'manager_ossec.conf',
) {
require wazuh::params_manager
concat::fragment { "ossec.conf_localfile-${logfile}":
target => $target_arg,
content => template('wazuh/fragments/_localfile_generation.erb'),
order => 21,
}
}
|