diff options
-rw-r--r-- | lib/chef/resource/ifconfig.rb | 4 | ||||
-rw-r--r-- | spec/unit/provider/route_spec.rb | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/lib/chef/resource/ifconfig.rb b/lib/chef/resource/ifconfig.rb index f6f9abedee..2ea0381991 100644 --- a/lib/chef/resource/ifconfig.rb +++ b/lib/chef/resource/ifconfig.rb @@ -96,10 +96,6 @@ class Chef property :vlan, String, introduced: "14.4", description: "The VLAN to assign the interface to." - - property :gateways, String, - introduced: "14.4", - description: "The gateway to assign the interface to." end end end diff --git a/spec/unit/provider/route_spec.rb b/spec/unit/provider/route_spec.rb index ea6ddffb81..977e5681bf 100644 --- a/spec/unit/provider/route_spec.rb +++ b/spec/unit/provider/route_spec.rb @@ -167,7 +167,7 @@ describe Chef::Provider::Route do expect(@provider.generate_command(:add).join(" ")).not_to match(/\svia\s#{Regexp.escape(@new_resource.gateway.to_s)}/) end - it "should use the gatway when target is default" do + it "should use the gateway when target is default" do @default_resource.gateway("10.0.0.10") expect(@default_provider.generate_command(:add).join(" ")).to match(/10.0.0.10/) end |