diff options
author | Thom May <thom@may.lt> | 2016-11-16 17:28:07 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-16 17:28:07 +0000 |
commit | af1332711139cade37104169e943e290c6c00362 (patch) | |
tree | c1cebd27481cc2f2944e8d731140ed32924f9ab8 /lib/chef/provider | |
parent | 02968423cb2da19b34c8ec0f69df39bff74eabb3 (diff) | |
parent | 64b8b0efd90e59ad609ba30fe4bc7ff19e70e940 (diff) | |
download | chef-af1332711139cade37104169e943e290c6c00362.tar.gz |
Merge pull request #5460 from chef/tm/deprecation_with_url
Core: Structure deprecations with additional metadata
Diffstat (limited to 'lib/chef/provider')
-rw-r--r-- | lib/chef/provider/package/easy_install.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/provider/package/easy_install.rb b/lib/chef/provider/package/easy_install.rb index 989f2ab9d2..926f609092 100644 --- a/lib/chef/provider/package/easy_install.rb +++ b/lib/chef/provider/package/easy_install.rb @@ -112,7 +112,7 @@ class Chef end def install_package(name, version) - Chef.log_deprecation("The easy_install package provider is deprecated and will be removed in Chef 13.") + Chef.deprecated(:easy_install, "The easy_install package provider is deprecated and will be removed in Chef 13.") run_command(:command => "#{easy_install_binary_path}#{expand_options(@new_resource.options)} \"#{name}==#{version}\"") end @@ -121,7 +121,7 @@ class Chef end def remove_package(name, version) - Chef.log_deprecation("The easy_install package provider is deprecated and will be removed in Chef 13.") + Chef.deprecated(:easy_install, "The easy_install package provider is deprecated and will be removed in Chef 13.") run_command(:command => "#{easy_install_binary_path }#{expand_options(@new_resource.options)} -m #{name}") end |