lib/chef/resource/user.rb in chef-10.34.6 vs lib/chef/resource/user.rb in chef-11.0.0.beta.0

- old
+ new

@@ -42,12 +42,10 @@ @action = :create @supports = { :manage_home => false, :non_unique => false } - @iterations = 27855 - @salt = nil @allowed_actions.push(:create, :remove, :modify, :manage, :lock, :unlock) end def username(arg=nil) set_or_return( @@ -102,25 +100,9 @@ def password(arg=nil) set_or_return( :password, arg, :kind_of => [ String ] - ) - end - - def salt(arg=nil) - set_or_return( - :salt, - arg, - :kind_of => [ String ] - ) - end - - def iterations(arg=nil) - set_or_return( - :iterations, - arg, - :kind_of => [ Integer ] ) end def system(arg=nil) set_or_return(