puppet-splunk
puppet-splunk copied to clipboard
manage the service
This pull request add the option service_ensure, to make it possible to stop the service in case.
@bc-bjoern Good idea, we should probably do the same with splunk enterprise. Would you mind updating the acceptance suite to toggle the ensure from running to stopped to test for validity? I can help if you'd like, let me know :)
Hey, may you can help me out here. This "["running", "stopped"]" doesn't work.
should contain Service[SplunkForwarder] with ensure => ["running", "stopped"], enable => true, status defined, restart defined, start defined and stop defined (FAILED - 1)
I'm doing a minor refactor to push params to moduledata, I'll incorporate this change with it and ping you when it's submitted for a PR
Well okay, thank you!
https://github.com/voxpupuli/puppet-splunk/pull/250