diff options
author | Tim Smith <tsmith@chef.io> | 2018-02-26 11:19:56 -0800 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-03-09 10:44:12 -0800 |
commit | 96d110e31eb561ce25c0c41fd716d476b6f343bf (patch) | |
tree | 3b49ef458c5c6295bc99de8762ff6f31d9f584b2 | |
parent | 88388064a2d0e3610f728c2329c25f924cf4ea3c (diff) | |
download | chef-user.tar.gz |
Don't set resources to nil by defaultuser
Nil is the default already
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/chef/resource/user.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/resource/user.rb b/lib/chef/resource/user.rb index 5c9a0c7a6d..b8e11d45d8 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-2018, Chef Software Inc. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -32,8 +32,8 @@ class Chef property :username, String, name_property: true property :comment, String - property :uid, [ String, Integer, NilClass ], default: nil - property :gid, [ String, Integer, NilClass ], default: nil + property :uid, [ String, Integer ] + property :gid, [ String, Integer ] property :home, String property :shell, String property :password, String |