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.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/resource/ifconfig.rb b/lib/chef/resource/ifconfig.rb
index 579a4eeedb..0c347dd78f 100644
--- a/lib/chef/resource/ifconfig.rb
+++ b/lib/chef/resource/ifconfig.rb
@@ -41,8 +41,8 @@ class Chef
property :family, String, default: "inet"
property :inet_addr, String
property :bcast, String
- property :mtu, String
- property :metric, String
+ property :mtu, [String, Integer]
+ property :metric, [String, Integer]
property :device, String, identity: true
property :onboot, String
property :network, String