summaryrefslogtreecommitdiff
path: root/lib/chef/resource/user.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-10-16 12:08:55 -0700
committerTim Smith <tsmith84@gmail.com>2020-10-16 12:11:25 -0700
commit1539ebfd364801f41b7e2d62c2fef1b9d1e935b7 (patch)
treecb5d96afef15228910c1cd9776510626bc48ba99 /lib/chef/resource/user.rb
parent93892aabfe3a1ee0c83b25192029549cc2564410 (diff)
downloadchef-1539ebfd364801f41b7e2d62c2fef1b9d1e935b7.tar.gz
Use action not the alias of allowed_actionsuse_the_original
Use the actual method not the aliases method name. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/resource/user.rb')
-rw-r--r--lib/chef/resource/user.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/user.rb b/lib/chef/resource/user.rb
index 408932175d..8aa8620a64 100644
--- a/lib/chef/resource/user.rb
+++ b/lib/chef/resource/user.rb
@@ -26,7 +26,7 @@ class Chef
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
+ actions :create, :remove, :modify, :manage, :lock, :unlock
property :username, String,
description: "An optional property to set the username value if it differs from the resource block's name.",