puppet-splunk icon indicating copy to clipboard operation
puppet-splunk copied to clipboard

manage the service

Open bc-bjoern opened this issue 6 years ago • 5 comments

This pull request add the option service_ensure, to make it possible to stop the service in case.

bc-bjoern avatar Jul 16 '19 09:07 bc-bjoern

@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 :)

nick-markowski avatar Jul 17 '19 12:07 nick-markowski

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)

bc-bjoern avatar Jul 24 '19 14:07 bc-bjoern

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

nick-markowski avatar Jul 26 '19 12:07 nick-markowski

Well okay, thank you!

bc-bjoern avatar Jul 29 '19 09:07 bc-bjoern

https://github.com/voxpupuli/puppet-splunk/pull/250

nick-markowski avatar Jul 31 '19 20:07 nick-markowski