projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee82e01
)
Force bond interfaces to be a plain array
author
Tom Hughes
<tom@compton.nu>
Wed, 20 Mar 2019 08:55:37 +0000
(08:55 +0000)
committer
Tom Hughes
<tom@compton.nu>
Wed, 20 Mar 2019 08:55:37 +0000
(08:55 +0000)
cookbooks/networking/recipes/default.rb
patch
|
blob
|
history
diff --git
a/cookbooks/networking/recipes/default.rb
b/cookbooks/networking/recipes/default.rb
index e89064d6821d116b1f65d6b33bdd123627e4691f..068e0edf23496052bbb5085f1b323cf005c42d06 100644
(file)
--- a/
cookbooks/networking/recipes/default.rb
+++ b/
cookbooks/networking/recipes/default.rb
@@
-69,7
+69,7
@@
node[:networking][:interfaces].each do |name, interface|
"accept-ra" => false,
"addresses" => [],
"routes" => [],
- "interfaces" => interface[:bond][:slaves],
+ "interfaces" => interface[:bond][:slaves]
.to_a
,
"mode" => interface[:bond][:mode] || "active-backup",
"primary" => interface[:bond][:slaves].first,
"mii-monitor-interval" => interface[:bond][:miimon] || 100,