]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/planet/recipes/default.rb
Add tests for planet cookbook
[chef.git] / cookbooks / planet / recipes / default.rb
index 28b1abdb8d6f6bfb0790c196938257fd14930cf2..d8ec3bd3c1110f2c5ac7723ef9f99d02873aea29 100644 (file)
 # limitations under the License.
 #
 
+include_recipe "accounts"
 include_recipe "apache"
 
-package "perl"
-package "pbzip2"
-package "osmosis"
-
-package "php-cli"
+package %w[
+  perl
+  php-cli
+]
 
 file "/etc/cron.d/planet" do
   action :delete
@@ -97,6 +97,7 @@ end
 apache_module "cgid"
 apache_module "rewrite"
 apache_module "proxy_http"
+apache_module "ratelimit"
 
 ssl_certificate "planet.openstreetmap.org" do
   domains ["planet.openstreetmap.org", "planet.osm.org"]