Skip to content
Browse files

Merge pull request #7 from cramerdev/apache-log-path-fix

fix log storage paths
  • Loading branch information...
2 parents d1474bf + bfaab32 commit 6c280735d6293aaf8013762fb6f873323a62b507 @dje dje committed Apr 25, 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 6c28073

Please sign in to comment.
Something went wrong with that request. Please try again.