Browse files

Properly reject network::bond::redhat undef opts

  • Loading branch information...
1 parent b168c80 commit 876ac00711082d20c3de924d0e19afc32f3af870 @adrienthebo adrienthebo committed Mar 3, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 templates/bond/opts-redhat.erb
View
2 templates/bond/opts-redhat.erb
@@ -1 +1 @@
-<%= %w[mode miimon downdelay updelay lacp_rate primary primary_reselect xmit_hash_policy].select { |thing| scope[thing] }.map {|thing| "#{thing}=#{scope[thing]}"}.join(' ') -%>
+<%= %w[mode miimon downdelay updelay lacp_rate primary primary_reselect xmit_hash_policy].reject { |thing| scope[thing] == :undef }.map {|thing| "#{thing}=#{scope[thing]}"}.join(' ') -%>

0 comments on commit 876ac00

Please sign in to comment.