summaryrefslogtreecommitdiff
path: root/lib/chef/resource/user.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/user.rb')
-rw-r--r--lib/chef/resource/user.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/chef/resource/user.rb b/lib/chef/resource/user.rb
index a188b13d2c..2186a77f79 100644
--- a/lib/chef/resource/user.rb
+++ b/lib/chef/resource/user.rb
@@ -1,6 +1,6 @@
#
# Author:: Adam Jacob (<adam@chef.io>)
-# Copyright:: Copyright 2008-2017, Chef Software Inc.
+# Copyright:: Copyright 2008-2019, Chef Software Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -20,10 +20,11 @@ require "chef/resource"
class Chef
class Resource
- # Use the user resource to add users, update existing users, remove users, and to lock/unlock user passwords.
class User < Chef::Resource
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."
+
default_action :create
allowed_actions :create, :remove, :modify, :manage, :lock, :unlock