diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-10-16 12:08:55 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-10-16 12:11:25 -0700 |
commit | 1539ebfd364801f41b7e2d62c2fef1b9d1e935b7 (patch) | |
tree | cb5d96afef15228910c1cd9776510626bc48ba99 /lib/chef/resource/user.rb | |
parent | 93892aabfe3a1ee0c83b25192029549cc2564410 (diff) | |
download | chef-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.rb | 2 |
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.", |