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