diff options
author | Tom Doherty <tom.doherty@fixnetix.com> | 2017-09-08 11:49:30 +0100 |
---|---|---|
committer | Tom Doherty <tom.doherty@fixnetix.com> | 2017-09-08 11:49:30 +0100 |
commit | 48defc6e5a8a89a37b4327dcafee9a3a4d9a2457 (patch) | |
tree | 61e860383cae676300f9e3e19bbfcff82233c0c2 /spec | |
parent | 6968a6aee8300b07a0b60f84145ea4c459a4c84a (diff) | |
download | chef-48defc6e5a8a89a37b4327dcafee9a3a4d9a2457.tar.gz |
Ensure we quote ETHTOOL/BONDING_OPTS
Signed-off-by: Tom Doherty <tom.doherty@fixnetix.com>
Diffstat (limited to 'spec')
-rw-r--r-- | spec/unit/provider/ifconfig/redhat_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/provider/ifconfig/redhat_spec.rb b/spec/unit/provider/ifconfig/redhat_spec.rb index 0a91137416..d81f963450 100644 --- a/spec/unit/provider/ifconfig/redhat_spec.rb +++ b/spec/unit/provider/ifconfig/redhat_spec.rb @@ -56,8 +56,8 @@ describe Chef::Provider::Ifconfig::Redhat do expect(arg).to match(/^\s*DEVICE=eth0\s*$/) expect(arg).to match(/^\s*IPADDR=10\.0\.0\.1\s*$/) expect(arg).to match(/^\s*NETMASK=255\.255\.254\.0\s*$/) - expect(arg).to match(/^\s*ETHTOOL_OPTS=-A eth0 autoneg off\s*$/) - expect(arg).to match(/^\s*BONDING_OPTS=mode=active-backup miimon=100\s*$/) + expect(arg).to match(/^\s*ETHTOOL_OPTS="-A eth0 autoneg off"\s*$/) + expect(arg).to match(/^\s*BONDING_OPTS="mode=active-backup miimon=100"\s*$/) expect(arg).to match(/^\s*MASTER=bond0\s*$/) expect(arg).to match(/^\s*SLAVE=yes\s*$/) end |