From bf5bc83bde36fecc4625395300af0035d725c1df Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 3 Oct 2013 00:01:34 +0100 Subject: [PATCH 1/1] Install git when needed --- cookbooks/hardware/recipes/default.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cookbooks/hardware/recipes/default.rb b/cookbooks/hardware/recipes/default.rb index e1b58c0f3..4b7e4478d 100644 --- a/cookbooks/hardware/recipes/default.rb +++ b/cookbooks/hardware/recipes/default.rb @@ -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" -- 2.43.2