Permalink
Browse files

fix log storage paths

  • Loading branch information...
1 parent d1474bf commit bfaab3296b00205594f69b07ee56373025ddca66 @smith smith committed Apr 24, 2012
Showing with 7 additions and 2 deletions.
  1. +7 −2 recipes/web.rb
View
9 recipes/web.rb
@@ -37,8 +37,13 @@
group node['apache']['group']
end
-%w{ log webapp whisper }.each do |dir|
- directory "/opt/graphite/storage/#{dir}" do
+directory '/opt/graphite/storage/log' do
+ owner node['apache']['user']
+ group node['apache']['group']
+end
+
+%w{ webapp whisper }.each do |dir|
+ directory "/opt/graphite/storage/log/#{dir}" do
owner node['apache']['user']
group node['apache']['group']
end

0 comments on commit bfaab32

Please sign in to comment.