diff options
author | Tim Smith <tsmith@chef.io> | 2017-12-18 18:16:53 -0800 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2017-12-18 18:16:53 -0800 |
commit | 7402a236b6128776387e1914d75ece748c0eafa8 (patch) | |
tree | e422de558fd4d601490a0f823d9bc536e6602c62 /lib/chef/resource | |
parent | a0e844d3b7d47047ca14b8d306db071975000717 (diff) | |
download | chef-7402a236b6128776387e1914d75ece748c0eafa8.tar.gz |
Fix identity on device propertyifconfig_resource
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/resource')
-rw-r--r-- | lib/chef/resource/ifconfig.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/chef/resource/ifconfig.rb b/lib/chef/resource/ifconfig.rb index 351590a339..e9ef47d95b 100644 --- a/lib/chef/resource/ifconfig.rb +++ b/lib/chef/resource/ifconfig.rb @@ -30,7 +30,6 @@ class Chef class Ifconfig < Chef::Resource resource_name :ifconfig - identity_attr :device state_attrs :inet_addr, :mask default_action :add @@ -43,7 +42,7 @@ class Chef property :bcast, String property :mtu, String property :metric, String - property :device, String + property :device, String, identity: true property :onboot, String property :network, String property :bootproto, String |