summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2017-03-31 11:15:49 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2017-03-31 11:15:49 -0700
commitbf74e6b03684d81712ce6bc4ea186219ecb0dffc (patch)
treeaa58fb370a2790a09e5911a841428c6d626a87bf
parent41bd394c80b3bf363e26d8c609cb1c24cdd40625 (diff)
downloadchef-bf74e6b03684d81712ce6bc4ea186219ecb0dffc.tar.gz
Chef-13: remove deprecated launchd resource hash property
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r--lib/chef/resource/launchd.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/chef/resource/launchd.rb b/lib/chef/resource/launchd.rb
index c78ffa3f0e..d158b1e165 100644
--- a/lib/chef/resource/launchd.rb
+++ b/lib/chef/resource/launchd.rb
@@ -139,18 +139,6 @@ class Chef
property :wait_for_debugger, [ TrueClass, FalseClass ]
property :watch_paths, Array
property :working_directory, String
-
- # hash is an instance method on Object and needs to return a Fixnum.
- def hash(arg = nil)
- Chef.deprecated(:launchd_hash_property, "Property `hash` on the `launchd` resource has changed to `plist_hash`." \
- "Please use `plist_hash` instead. This will raise an exception in Chef 13.")
-
- set_or_return(
- :plist_hash,
- arg,
- :kind_of => Hash
- )
- end
end
end
end