diff options
author | Tim Smith <tsmith@chef.io> | 2018-09-17 11:30:58 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-09-17 11:30:58 -0700 |
commit | 08f71a1b9df3e163306cd8522324d686eba66f9e (patch) | |
tree | 2f670ece66bce3171c6a8d3b6c78bc27d984c330 /lib/chef/provider/script.rb | |
parent | 4383cc3ee5c75174459f3cc0813d4a48e2b96442 (diff) | |
download | chef-08f71a1b9df3e163306cd8522324d686eba66f9e.tar.gz |
Update script resource deprecation waringscript_resource
Also update todos to be YARD.
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/provider/script.rb')
-rw-r--r-- | lib/chef/provider/script.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/provider/script.rb b/lib/chef/provider/script.rb index c5966370f7..444eac54ac 100644 --- a/lib/chef/provider/script.rb +++ b/lib/chef/provider/script.rb @@ -49,9 +49,9 @@ class Chef def load_current_resource super - # @todo Chef-13: change this to an exception + # @todo Chef-15: change this to an exception if code.nil? - logger.warn "#{new_resource}: No code attribute was given, resource does nothing, this behavior is deprecated and will be removed in Chef-13" + logger.warn "#{new_resource}: No code attribute was given, resource does nothing, this behavior is deprecated and will be removed in Chef 15 (April 2019)" end end |