diff options
author | Tim Smith <tsmith@chef.io> | 2018-07-17 14:26:36 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-07-17 14:26:36 -0700 |
commit | 692a8fa83d5ec1c7fca5ccdf922d20161e82b5c6 (patch) | |
tree | 86fee2c83fd6f1fb8d87bf5ad8b341c4140c19e9 /lib/chef/provider | |
parent | 26a350996cab459b6483e67a66faf6030bb46312 (diff) | |
download | chef-692a8fa83d5ec1c7fca5ccdf922d20161e82b5c6.tar.gz |
Update the error in ifconfig aix provider to use property as wellattribute_to_properties
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/provider')
-rw-r--r-- | lib/chef/provider/ifconfig/aix.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/ifconfig/aix.rb b/lib/chef/provider/ifconfig/aix.rb index f9ecc1f22e..1fd172097a 100644 --- a/lib/chef/provider/ifconfig/aix.rb +++ b/lib/chef/provider/ifconfig/aix.rb @@ -65,7 +65,7 @@ class Chef def add_command # ifconfig changes are temporary, chdev persist across reboots. - raise Chef::Exceptions::Ifconfig, "interface metric attribute cannot be set for :add action" if new_resource.metric + raise Chef::Exceptions::Ifconfig, "interface metric property cannot be set for :add action" if new_resource.metric command = [ "chdev", "-l", new_resource.device, "-a", "netaddr=#{new_resource.name}" ] command += [ "-a", "netmask=#{new_resource.mask}" ] if new_resource.mask command += [ "-a", "mtu=#{new_resource.mtu}" ] if new_resource.mtu |