From 9a828f52150c0316f191f1a1e7d967015a0f46f4 Mon Sep 17 00:00:00 2001 From: Raphael Date: Fri, 26 Nov 2010 00:37:11 -0500 Subject: [PATCH] Remove nginx logs unless we get a license for splunk --- chef/cookbooks/common/recipes/splunk.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/chef/cookbooks/common/recipes/splunk.rb b/chef/cookbooks/common/recipes/splunk.rb index 04d6354a4..e2ec2a498 100644 --- a/chef/cookbooks/common/recipes/splunk.rb +++ b/chef/cookbooks/common/recipes/splunk.rb @@ -34,10 +34,10 @@ execute "Add monitor for diaspora" do not_if "splunk list monitor | grep diaspora" end -execute "Add monitor for nginx" do - command "mkdir -p /usr/local/nginx/logs && splunk add monitor /usr/local/nginx/logs" - not_if "splunk list monitor | grep nginx" -end +#execute "Add monitor for nginx" do + #command "mkdir -p /usr/local/nginx/logs && splunk add monitor /usr/local/nginx/logs" + #not_if "splunk list monitor | grep nginx" +#end execute 'Splunk Restart' do command "splunk restart"