opscode-cookbooks/chef-splunk — pull request #8 by jamesonjlee (2014-05-21 01:54:13+00:00)
Title: splunk_monitor 'path/to/thing/'

I wrote a library for the splunk monitor resource, thoughts? (I can add tests and such).

it introduces ability to add/remove monitor and also checks if the command will explode using list and grep

```
splunk_monitor '/var/log/syslog' do
action: add
end

# explodes
splunk_monitor '/somewhere/that/dun/exist/'

# removes from monitor
splunk_monitor '/var/log/syslog' do
action :remove
end
```