summaryrefslogtreecommitdiff
path: root/lib/chef/resource/ifconfig.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/ifconfig.rb')
-rw-r--r--lib/chef/resource/ifconfig.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/chef/resource/ifconfig.rb b/lib/chef/resource/ifconfig.rb
index 2ea0381991..e2a35e6d43 100644
--- a/lib/chef/resource/ifconfig.rb
+++ b/lib/chef/resource/ifconfig.rb
@@ -45,8 +45,8 @@ class Chef
property :mask, String,
description: "The decimal representation of the network mask. For example: 255.255.255.0."
- property :family, String,
- default: "inet", introduced: "14.0",
+ property :family, String, default: "inet",
+ introduced: "14.0",
description: "Networking family option for Debian-based systems. For example: inet or inet6."
property :inet_addr, String,
@@ -96,6 +96,10 @@ class Chef
property :vlan, String,
introduced: "14.4",
description: "The VLAN to assign the interface to."
+
+ property :gateway, String,
+ introduced: "14.4",
+ description: "The gateway to use for the interface."
end
end
end