Install image optimisation tools on rails machines
[chef.git] / cookbooks / web / resources / rails_port.rb
index 4d30aa7ccc9a3f3931c5b6af5ab3c1eb308f76b1..8e6d929ccdc1c9d5cd8d330ba86573c682f706fd 100644 (file)
@@ -87,6 +87,17 @@ action :create do
     libmemcached-dev
   ]
 
+  package %w[
+    pngcrush
+    advancecomp
+    optipng
+    pngquant
+    jhead
+    jpegoptim
+    gifsicle
+    libjpeg-turbo-progs
+  ]
+
   gem_package "bundler#{new_resource.ruby}" do
     package_name "bundler"
     version "1.3.5"