]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/foundation/recipes/owg.rb
Install gcc and make for building native gems
[chef.git] / cookbooks / foundation / recipes / owg.rb
index 70662e702708e97196c1ad61c51b2c356dc08dba..dc1f359eb749457fd30acb4332cf66a71be727a8 100644 (file)
@@ -21,9 +21,14 @@ include_recipe "apache"
 include_recipe "git"
 
 package %w[
+  gcc
+  g++
+  make
   ruby
   ruby-dev
+  libssl-dev
   zlib1g-dev
+  pkg-config
 ]
 
 gem_package "bundler" do
@@ -33,6 +38,7 @@ end
 git "/srv/operations.osmfoundation.org" do
   action :sync
   repository "https://github.com/openstreetmap/owg-website.git"
+  depth 1
   user "root"
   group "root"
   notifies :run, "execute[/srv/operations.osmfoundation.org/Gemfile]"