summaryrefslogtreecommitdiff
path: root/lib/chef/provider/user.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2017-02-26 15:53:22 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2017-02-28 11:19:49 -0800
commit80547d21f52630d65a321975a6b9d19d9f2f49f4 (patch)
tree7e21d9e64025caa17325a5758b6570afa36044d6 /lib/chef/provider/user.rb
parentf539a7f985c9c7f92b6197b883d8f6c201cf70e8 (diff)
downloadchef-80547d21f52630d65a321975a6b9d19d9f2f49f4.tar.gz
Chef-13: Remove supports API from all user providers
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/provider/user.rb')
-rw-r--r--lib/chef/provider/user.rb12
1 files changed, 1 insertions, 11 deletions
diff --git a/lib/chef/provider/user.rb b/lib/chef/provider/user.rb
index c44adbf818..43102e7dec 100644
--- a/lib/chef/provider/user.rb
+++ b/lib/chef/provider/user.rb
@@ -1,6 +1,6 @@
#
# Author:: Adam Jacob (<adam@chef.io>)
-# Copyright:: Copyright 2008-2016, Chef Software Inc.
+# Copyright:: Copyright 2008-2017, Chef Software Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -205,16 +205,6 @@ class Chef
def check_lock
raise NotImplementedError
end
-
- def non_unique?
- # XXX: THIS GOES AWAY IN CHEF-13 AND BECOMES JUST new_resource.non_unique
- new_resource.non_unique || new_resource.supports[:non_unique]
- end
-
- def managing_home_dir?
- # XXX: THIS GOES AWAY IN CHEF-13 AND BECOMES JUST new_resource.manage_home
- new_resource.manage_home || new_resource.supports[:manage_home]
- end
end
end
end