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