]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/serverinfo/recipes/default.rb
device: Add udev to remove failed disk in cmok
[chef.git] / cookbooks / serverinfo / recipes / default.rb
index 92bd5703deb481f81ab5614e080934bd0aef6baf..9a9e1b5a7c2d0d405675b0996e9b9c70bcc395af 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
@@ -32,7 +37,8 @@ end
 
 git "/srv/hardware.openstreetmap.org" do
   action :sync
-  repository "git://github.com/gravitystorm/osmf-server-info.git"
+  repository "https://github.com/gravitystorm/osmf-server-info.git"
+  depth 1
   user "root"
   group "root"
   notifies :run, "execute[/srv/hardware.openstreetmap.org/Gemfile]"