Might even be able to have Ruby shell out to generate that: user 'foo' do action :create … password { `openssl passwd -l 'plaintextpassword'` } endYou would want, I think, to not actually have the plain text password right there; I’d suggest perhaps using an encrypted data bag for the actual value there. Lastly though; why use passwords at all? Why not use SSH keys? Far simpler to manage… On March 4, 2015 at 8:27:33 AM, Fabien Delpierre ( "> ) wrote:
|
Archive powered by MHonArc 2.6.16.