Configures spunk forwarder client
depends chef-splunk
supports :amazon, centos, debian, fedora, redhat, ubuntu
TODO: List your cookbook attributes here.
default['splunk']['install_path’]= ‘default location for splunk install’.
Use json on Opsworks Stack setting to provided attribute information. Attributes can not be nil
default['splunk']['pass']='nil' default['splunk']['newpass']='nil' default['splunk']['forward_server']='nil' default['splunk']['receiver_port']='nil' default['splunk']['auth']='nil' default['splunk']['monitor_path']='nil'
Just include splunk_config
in your node's run_list
:
{
"name":"my_node",
"run_list": [
"recipe[splunk_config]"
]
}
TODO: (optional) If this is a public cookbook, detail the process for contributing. If this is a private cookbook, remove this section.
e.g.
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
Authors: TODO: List authors