Skip to content

Commit

Permalink
Merge pull request #27 from charlesjohnson/chef_user_fix
Browse files Browse the repository at this point in the history
Add user full name to chef_user
  • Loading branch information
jkeiser committed Nov 5, 2014
2 parents 4555e80 + 634e616 commit 015e7a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/chef/provider/chef_user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def keys
{
'name' => :name,
'username' => :name,
'display_name' => :display_name,
'admin' => :admin,
'email' => :email,
'password' => :password,
Expand Down
1 change: 1 addition & 0 deletions lib/chef/resource/chef_user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ def initialize(*args)

# Client attributes
attribute :name, :kind_of => String, :regex => Cheffish::NAME_REGEX, :name_attribute => true
attribute :display_name, :kind_of => String
attribute :admin, :kind_of => [TrueClass, FalseClass]
attribute :email, :kind_of => String
attribute :external_authentication_uid
Expand Down

0 comments on commit 015e7a2

Please sign in to comment.