projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b099a3
)
Start serial console on ttyS2 for OVH machines
author
Tom Hughes
<tom@compton.nu>
Fri, 9 Dec 2016 09:53:02 +0000
(09:53 +0000)
committer
Tom Hughes
<tom@compton.nu>
Fri, 9 Dec 2016 09:53:02 +0000
(09:53 +0000)
cookbooks/hardware/recipes/default.rb
patch
|
blob
|
history
diff --git
a/cookbooks/hardware/recipes/default.rb
b/cookbooks/hardware/recipes/default.rb
index 5d1757b46159b429e8088f1c7bead43070f5b7ef..f9f76cd46dc11fadc87f3e7d2fdb98d9ef22a58f 100644
(file)
--- a/
cookbooks/hardware/recipes/default.rb
+++ b/
cookbooks/hardware/recipes/default.rb
@@
-52,6
+52,8
@@
units = []
if node[:roles].include?("bytemark") || node[:roles].include?("exonetric")
units << "0"
+elsif node[:roles].include?("ovh")
+ units << "2"
end
case manufacturer