# File lib/puppet/provider/user/user_role_add.rb, line 28
28:     def add_properties
29:         cmd = []
30:         Puppet::Type.type(:user).validproperties.each do |property|
31:             #skip the password because we can't create it with the solaris useradd
32:             next if [:ensure, :password].include?(property)
33:             # 1680 Now you can set the hashed passwords on solaris:lib/puppet/provider/user/user_role_add.rb
34:             # the value needs to be quoted, mostly because -c might
35:             # have spaces in it
36:             if value = @resource.should(property) and value != ""
37:                 if property == :keys
38:                     cmd += build_keys_cmd(value)
39:                 else
40:                     cmd << flag(property) << value
41:                 end
42:             end
43:         end
44:         cmd
45:     end