Skip to content

Commit afe44b1

Browse files
authoredOct 4, 2016
Merge pull request #57 from crayfishx/bug/service_reloads
Notify service from addons
2 parents 4707b24 + b803cff commit afe44b1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎manifests/forwarder.pp

+3
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,9 @@
9696
# Declare addons
9797
create_resources('splunk::addon', $addons)
9898

99+
# Ensure that the service restarts upon changes to addons
100+
Splunk::Addon <||> ~> Service[$virtual_service]
101+
99102
# Declare inputs and outputs specific to the forwarder profile
100103
$tag_resources = { tag => 'splunk_forwarder' }
101104
create_resources( 'splunkforwarder_input',$forwarder_input, $tag_resources)

0 commit comments

Comments
 (0)
Please sign in to comment.