Renders ossec.conf and agent.conf, then enables and conditionally starts
the packaged OSSEC service.
:create: Writes configuration files and enables or starts the main service as appropriate:delete: Stops or disables the service and removes the managed configuration files
install_type(String, default: name): Configuration role. Must belocal,server, oragentinstall_dir(String, default:'/var/ossec'): OSSEC installation directoryossec_conf(Hash, default:{}): Additional OSSEC configuration merged over the defaultsagent_conf(Array, default:[]): Agent configuration entries written on server installsagent_server_ip(String, nil, default:nil): Server IP used for agent configuration
ossec_config 'local'ossec_config 'agent' do
agent_server_ip '192.0.2.10'
end