mitchellh/vagrant — Issue #535: puppet user resource password field doesn't have an effect
Author: alaasalman
Created: 2011-10-22 18:22:20+00:00
State: open

The libshadow library is missing in the default lucid box and so setting the password field in the user resource in puppet will have no effect. Try to change the password using a direct puppet command in the VM itself will warn that the library shadow cannot be loaded and that passwords cannot be managed.

My work around is adding "gem install libshadow --no-ri --no-rdoc" to the postinst.sh file.