puppetlabs/puppet — pull request #585 by andytinycat (2012-03-17 00:37:45+00:00)
Title: 2.7.x - fix for password setting on AIX user provider

The user provider on AIX fails to set the password for local users
using chpasswd.

This commit includes the code in ticket [#11200](http://projects.puppetlabs.com/issues/11200) suggested by Josh
Cooper. It works in my environment (AIX 5.3 + 6.1).

chpasswd can also return 1 even on success; it's not clear if this is
by design, as the manpage doesn't mention it. The lack of output from
chpasswd indicates success; if there's a problem it dumps output to
stderr/stdout.