I use chef with knife solo. I want to create a user so I decided to use this cookbook : https://github.com/fnichol/chef-user.
{
"id": "deploy",
"home": "/srv/deploy",
"system_user": true,
"create_group": true,
"shell": "/bin/bash",
"ssh_keygen": true,
"ssh_keys": [
"ssh-rsa AAAAB3Nz..."
],
"password": "HeyHeyBigPassword"
}So I tried to cook and the user password is not set correctly. After reading documentation I miss a point :
Note: in order to use the password attribute, you must have the ruby-shadow gem installed. On Debian/Ubuntu you can get this by installing the "libshadow-ruby1.8" package.
Unfortunately I'm not able to install the specified package "libshadow-ruby1.8" on Ubuntu 14.04.