summaryrefslogtreecommitdiff
path: root/lib/chef/resource/ifconfig.rb
diff options
context:
space:
mode:
authorAaron Kalin <akalin@martinisoftware.com>2018-02-20 17:07:07 -0600
committerAaron Kalin <akalin@martinisoftware.com>2018-02-20 17:08:50 -0600
commitcd91f426c9333671ed06d5ef29410602be12414d (patch)
tree624846e3b07679693302bfcac09e993d3f3df5e7 /lib/chef/resource/ifconfig.rb
parent1b84b4ddf607dfad71edcd4ee602bbb8f36696ec (diff)
downloadchef-cd91f426c9333671ed06d5ef29410602be12414d.tar.gz
Add support for network family in Debian
Signed-off-by: Aaron Kalin <akalin@martinisoftware.com>
Diffstat (limited to 'lib/chef/resource/ifconfig.rb')
-rw-r--r--lib/chef/resource/ifconfig.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/resource/ifconfig.rb b/lib/chef/resource/ifconfig.rb
index e9ef47d95b..d80abd090d 100644
--- a/lib/chef/resource/ifconfig.rb
+++ b/lib/chef/resource/ifconfig.rb
@@ -38,6 +38,7 @@ class Chef
property :target, String, name_property: true
property :hwaddr, String
property :mask, String
+ property :family, String, default: 'inet'
property :inet_addr, String
property :bcast, String
property :mtu, String