Remove nginx logs unless we get a license for splunk
This commit is contained in:
parent
94d08954d9
commit
9a828f5215
1 changed files with 4 additions and 4 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue