Defined Type: wazuh::command
- Defined in:
- manifests/command.pp
Overview
Copyright © 2015, Wazuh Inc. Define an ossec command
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'manifests/command.pp', line 3
define wazuh::command (
$command_name,
$command_executable,
$command_expect = 'srcip',
$timeout_allowed = true,
$target_arg = 'manager_ossec.conf',
) {
require wazuh::params_manager
if ($timeout_allowed) { $command_timeout_allowed='yes' } else { $command_timeout_allowed='no' }
concat::fragment { $name:
target => $target_arg,
order => 46,
content => template('wazuh/fragments/_command.erb'),
}
}
|