include_recipe "passenger"
include_recipe "git"
include_recipe "mysql"
+include_recipe "nodejs"
include_recipe "postgresql"
package "php-apc"
package "php5-pgsql"
package "php5-sqlite"
+package "pngcrush"
+package "pngquant"
+
package "python"
package "python-argparse"
package "python-beautifulsoup"
package "python-dateutil"
package "python-magic"
package "python-psycopg2"
+package "python-gdal"
+
+nodejs_package "svgo"
easy_install_package "geojson"
group "apis"
mode 0644
variables :site => site_name
- notifies :touch, "file[#{rails_directory}/tmp/restart.txt]"
+ notifies :run, "execute[#{rails_directory}]"
end
apache_site site_name do
recursive true
end
- file "/etc/cron.daily/rails-#{name}" do
+ file "/etc/cron.daily/rails-#{site_name}" do
action :delete
end