From e18c3bd726b9997db7bfa76a651b32a7f4bc54bd Mon Sep 17 00:00:00 2001 From: Raphael Date: Wed, 17 Nov 2010 12:31:51 -0800 Subject: [PATCH] restarting splunk --- chef/cookbooks/common/recipes/splunk.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chef/cookbooks/common/recipes/splunk.rb b/chef/cookbooks/common/recipes/splunk.rb index f66a95863..6e31c2d55 100644 --- a/chef/cookbooks/common/recipes/splunk.rb +++ b/chef/cookbooks/common/recipes/splunk.rb @@ -33,3 +33,7 @@ end execute "Add monitor for diaspora" do command "cd /opt/splunk/bin && ./splunk add monitor /usr/local/app/diaspora/log" end + +execute 'Splunk Restart' do + command "cd /opt/splunk/bin && ./splunk restart" +end