]> git.openstreetmap.org Git - chef.git/commitdiff
Install svgo on machines running the rails port
authorTom Hughes <tom@compton.nu>
Sun, 13 Sep 2015 09:57:05 +0000 (10:57 +0100)
committerTom Hughes <tom@compton.nu>
Sun, 13 Sep 2015 09:57:05 +0000 (10:57 +0100)
cookbooks/dev/metadata.rb
cookbooks/dev/recipes/default.rb
cookbooks/web/metadata.rb
cookbooks/web/recipes/rails.rb

index 361e9f628081cfbb5c02667a168e00fb3a06be45..8b5c166b72c57dec866e7f31233985281f22ee21 100644 (file)
@@ -9,6 +9,7 @@ depends           "apache"
 depends           "passenger"
 depends           "git"
 depends           "mysql"
+depends           "nodejs"
 depends           "postgresql"
 depends           "tools"
 depends           "web"
index 336fad65d8985f4014f558b047218d92404ae345..2e51fa54625a26775ad04a33fc60b7f95476101d 100644 (file)
@@ -24,6 +24,7 @@ include_recipe "apache"
 include_recipe "passenger"
 include_recipe "git"
 include_recipe "mysql"
+include_recipe "nodejs"
 include_recipe "postgresql"
 
 package "php-apc"
@@ -53,6 +54,8 @@ package "python-magic"
 package "python-psycopg2"
 package "python-gdal"
 
+nodejs_package "svgo"
+
 easy_install_package "geojson"
 
 apache_module "env"
index 780e9307f91a9b48ae1d8d756df7c7ee1b6af00c..68d85c079dc0d24bea0487558cbcd361ec252d2c 100644 (file)
@@ -9,4 +9,5 @@ depends           "apache"
 depends           "passenger"
 depends           "git"
 depends           "memcached"
+depends           "nodejs"
 depends           "tools"
index 4c8d3fb558683fd9820672b4620195dff11f8ddc..f6236c8914cb23b709ea8ba1a821f51fc5e70ea6 100644 (file)
@@ -23,10 +23,13 @@ include_recipe "web::base"
 include_recipe "apache"
 include_recipe "passenger"
 include_recipe "git"
+include_recipe "nodejs"
 
 web_passwords = data_bag_item("web", "passwords")
 db_passwords = data_bag_item("db", "passwords")
 
+nodejs_package "svgo"
+
 template "/etc/cron.hourly/passenger" do
   cookbook "web"
   source "passenger.cron.erb"