Install mod_proxy planet rewrite script for planet
authorTom Hughes <tom@compton.nu>
Thu, 5 May 2016 12:52:25 +0000 (13:52 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 5 May 2016 12:52:25 +0000 (13:52 +0100)
cookbooks/planet/recipes/default.rb

index a7bc0002270e3a54e1d56ef5026e7c4da6bcb826..0c5c235b7cd4dfcb7362e551ec008b7702cdb34d 100644 (file)
@@ -76,7 +76,15 @@ 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 "rewrite"
+apache_module "proxy"
 apache_module "proxy_http"
 
 apache_site "planet.openstreetmap.org" do