summaryrefslogtreecommitdiff
path: root/lib/chef/resource/user.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2019-10-28 21:50:47 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2019-10-28 21:50:47 -0700
commitddf24bcbbfed3852fc3c19f739927072a27c1f00 (patch)
tree4ca425d02a23d52136f4597942548f9cade89d40 /lib/chef/resource/user.rb
parent9ccc77bfdadc398e8bec8eaac723df785399e319 (diff)
downloadchef-ddf24bcbbfed3852fc3c19f739927072a27c1f00.tar.gz
Turn on unified_mode for 35 core resources
These are the ones that off of the top of my head it should be perfectly safe to turn on `unifed_mode` with minimal auditing. Most of these are so old that they do not use any sub-resources at all. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/resource/user.rb')
-rw-r--r--lib/chef/resource/user.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/chef/resource/user.rb b/lib/chef/resource/user.rb
index 6ade20082f..05129ce97e 100644
--- a/lib/chef/resource/user.rb
+++ b/lib/chef/resource/user.rb
@@ -21,6 +21,8 @@ require_relative "../resource"
class Chef
class Resource
class User < Chef::Resource
+ unified_mode true
+
resource_name :user_resource_abstract_base_class # this prevents magickal class name DSL wiring
description "Use the user resource to add users, update existing users, remove users, and to lock/unlock user passwords."