]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/planet/recipes/default.rb
Add CGI header for cc-by-sa
[chef.git] / cookbooks / planet / recipes / default.rb
index b99b4ab0b54174e18cc4540d73c2c6c16efd277f..ceb9d9ad532e3316dbb66f1472caff6254397f6f 100644 (file)
@@ -58,6 +58,16 @@ remote_directory node[:planet][:dump][:xml_history_directory] do
   files_mode "755"
 end
 
+remote_directory "/store/planet/cc-by-sa" do
+  source "ccbysa_cgi"
+  owner "www-data"
+  group "planet"
+  mode "775"
+  files_owner "root"
+  files_group "root"
+  files_mode "755"
+end
+
 remote_directory "/store/planet/cc-by-sa/full-experimental" do
   source "ccbysa_history_cgi"
   owner "www-data"
@@ -83,6 +93,12 @@ directory "/store/planet/notes" do
   mode "775"
 end
 
+directory "/store/planet/statistics" do
+  owner "www-data"
+  group "planet"
+  mode "775"
+end
+
 template "/usr/local/bin/apache-latest-planet-filename" do
   source "apache-latest-planet-filename.erb"
   owner "root"