From: Tom Hughes Date: Wed, 2 Oct 2013 23:01:34 +0000 (+0100) Subject: Install git when needed X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/bf5bc83bde36fecc4625395300af0035d725c1df?hp=eee918711444ec8414ac795345e5c6b38864118e Install git when needed --- 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"