]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/dev/recipes/default.rb
Fix removal of old rails cleanup scripts on dev
[chef.git] / cookbooks / dev / recipes / default.rb
index bca846b2298db2fc910e0df1963fdfce3adaefcb..3620d163d82fa4a59be035e109bbb4c164ce6cf9 100644 (file)
@@ -24,6 +24,7 @@ include_recipe "apache"
 include_recipe "passenger"
 include_recipe "git"
 include_recipe "mysql"
 include_recipe "passenger"
 include_recipe "git"
 include_recipe "mysql"
+include_recipe "nodejs"
 include_recipe "postgresql"
 
 package "php-apc"
 include_recipe "postgresql"
 
 package "php-apc"
@@ -41,6 +42,9 @@ package "php5-mysql"
 package "php5-pgsql"
 package "php5-sqlite"
 
 package "php5-pgsql"
 package "php5-sqlite"
 
+package "pngcrush"
+package "pngquant"
+
 package "python"
 package "python-argparse"
 package "python-beautifulsoup"
 package "python"
 package "python-argparse"
 package "python-beautifulsoup"
@@ -48,10 +52,14 @@ package "python-cheetah"
 package "python-dateutil"
 package "python-magic"
 package "python-psycopg2"
 package "python-dateutil"
 package "python-magic"
 package "python-psycopg2"
+package "python-gdal"
+
+nodejs_package "svgo"
 
 easy_install_package "geojson"
 
 apache_module "env"
 
 easy_install_package "geojson"
 
 apache_module "env"
+apache_module "deflate"
 apache_module "expires"
 apache_module "proxy"
 apache_module "proxy_fcgi"
 apache_module "expires"
 apache_module "proxy"
 apache_module "proxy_fcgi"
@@ -191,7 +199,7 @@ if node[:postgresql][:clusters][:"9.1/main"]
         recursive true
       end
 
         recursive true
       end
 
-      file "/etc/cron.daily/rails-#{name}" do
+      file "/etc/cron.daily/rails-#{site_name}" do
         action :delete
       end
 
         action :delete
       end