X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/5415e49eed84b2b6671221289fde8e989174a011..6782e9d4eeaf925882a000a7423afa0633948213:/cookbooks/planet/recipes/default.rb diff --git a/cookbooks/planet/recipes/default.rb b/cookbooks/planet/recipes/default.rb index cc2396357..db02b6ad4 100644 --- a/cookbooks/planet/recipes/default.rb +++ b/cookbooks/planet/recipes/default.rb @@ -53,8 +53,8 @@ end remote_directory node[:planet][:dump][:xml_history_directory] do source "history_cgi" - owner "root" - group "root" + owner "www-data" + group "planet" mode 0755 files_owner "root" files_group "root" @@ -76,6 +76,14 @@ directory "/store/planet/notes" do mode 0775 end +template "/usr/local/bin/apache-latest-planet-filename" do + source "apache-latest-planet-filename.erb" + owner "root" + group "root" + mode 0755 +end + +apache_module "cgid" apache_module "rewrite" apache_module "proxy_http" @@ -89,3 +97,5 @@ template "/etc/logrotate.d/apache2" do group "root" mode 0644 end + +munin_plugin "planet_age"