diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2015-02-09 14:48:16 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2015-02-09 14:48:16 -0800 |
commit | 6c45ef91d4e5bea527da8bb87451069c9c21599f (patch) | |
tree | e49c910d8816bc442d02c910c8682535eb7f71c8 /lib/chef/resource | |
parent | 11140c2cbd6f675c1bc0c3f5697f23d6404886ba (diff) | |
download | chef-6c45ef91d4e5bea527da8bb87451069c9c21599f.tar.gz |
patch chef_gem to use Chef::Log.deprecationlcg/chef-gem-config-option
Diffstat (limited to 'lib/chef/resource')
-rw-r--r-- | lib/chef/resource/chef_gem.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/resource/chef_gem.rb b/lib/chef/resource/chef_gem.rb index c95bf03200..59f575a524 100644 --- a/lib/chef/resource/chef_gem.rb +++ b/lib/chef/resource/chef_gem.rb @@ -53,9 +53,9 @@ class Chef # Chef::Resource.run_action: Caveat: this skips Chef::Runner.run_action, where notifications are handled # Action could be an array of symbols, but probably won't (think install + enable for a package) if compile_time.nil? - Chef::Log.warn "#{self} chef_gem compile_time installation is deprecated" - Chef::Log.warn "#{self} Please set `compile_time false` on the resource to use the new behavior." - Chef::Log.warn "#{self} or set `compile_time true` on the resource if compile_time behavior is required." + Chef::Log.deprecation "#{self} chef_gem compile_time installation is deprecated" + Chef::Log.deprecation "#{self} Please set `compile_time false` on the resource to use the new behavior." + Chef::Log.deprecation "#{self} or set `compile_time true` on the resource if compile_time behavior is required." end if compile_time || compile_time.nil? |