I am trying to add the user 'deploy' to my web_app role using the 'generic-users' recipe with a chef server. I created a deploy.json database containing:
{ "id": "deploy", "group": "deploy", "shell": true }
I uploaded a data packet to my server.
I also downloaded all my recipes and roles.
Finally, here is my role in the application:
name "app_server" description "application" run_list( "recipe[generic-users]", ) default_attributes "users" => { "active_groups" => "deploy" }
When I try to provide a server using this role, I see the following:
[2012-09-24T22:17:53+01:00] INFO: Active groups: deploy, sysadmin
But it does not actually create a user of my deployment.
What do I need to do to create it for my user?
In addition, I would like to specify different users and be able to create specific accounts only for certain roles. How can i do this?
source share