saltstack/salt — pull request #2218 by romeotheriault (2012-10-11 08:37:30+00:00)
Title: Solaris user module

Nothing too special here. Changed a few items to make it compatible with solaris. Note I changed the chgroups function to use:

```python
return not __salt__['cmd.retcode'](cmd)
```

as it's return code. This works well for all the tests I've thrown at it. If you're happy with that way of dealing the the chgroups return code I'll update it in the other user modules as well.

Do we have any docs on how to write tests for the modules? Or could you point me at a site that explains it a bit?

Thanks!