I'm trying to add a 'deploy' user to my web_app role using the 'generic-users' recipe with chef server. I've created a deploy.json databag containing:
{
"id": "deploy",
"group": "deploy",
"shell": true
}
I've uploaded the data bag to my server.
I've also uploaded all my recipes and roles.
Finally, here's my app role:
name "app_server"
description "application"
run_list(
"recipe[generic-users]",
)
default_attributes "users" => { "active_groups" => "deploy" }
When I try to provision my server using this role, I see the following:
[2012-09-24T22:17:53+01:00] INFO: Active groups: deploy, sysadmin
But it doesn't actually create my deploy user.
What do I need to do to get it to create my user?
Also, I'd like to specify different users and to be able to only create specific accounts on specific roles as necessary. How could I do that?