]> git.openstreetmap.org Git - chef.git/commitdiff
Install git when needed
authorTom Hughes <tom@compton.nu>
Wed, 2 Oct 2013 23:01:34 +0000 (00:01 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 2 Oct 2013 23:02:48 +0000 (00:02 +0100)
cookbooks/hardware/recipes/default.rb

index e1b58c0f359223903e256725388e21923a83a1a3..4b7e4478de57467cc601ad66190b60b7e789234b 100644 (file)
@@ -64,6 +64,8 @@ when "IBM"
 end
 
 if manufacturer == "HP" and node[:lsb][:release].to_f > 11.10
+  include_recipe "git"
+
   git "/opt/hp/hp-legacy" do
     action :sync
     repository "git://chef.openstreetmap.org/hp-legacy.git"