projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eee9187
)
Install git when needed
author
Tom Hughes
<tom@compton.nu>
Wed, 2 Oct 2013 23:01:34 +0000
(
00:01
+0100)
committer
Tom Hughes
<tom@compton.nu>
Wed, 2 Oct 2013 23:02:48 +0000
(
00:02
+0100)
cookbooks/hardware/recipes/default.rb
patch
|
blob
|
history
diff --git
a/cookbooks/hardware/recipes/default.rb
b/cookbooks/hardware/recipes/default.rb
index e1b58c0f359223903e256725388e21923a83a1a3..4b7e4478de57467cc601ad66190b60b7e789234b 100644
(file)
--- 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"