example_user.json
570 Bytes
{
"comment": "Real Name of User",
"shell": "/bin/bash",
"groups": [
// Always include user's default group
"example_user",
// Always include either the group node['cfe-users']['group']
// or node['cfe-users']['admin_group']
"devs",
// Include these three groups in Ubuntu 14.04:
"adm",
"plugdev",
"netdev"
],
"ssh_keys": "ssh-rsa xxxx cfe_xxx",
// If "action" is set to "remove", the user will be deleted. If no "action" is set, the default action is to create the user.
//"action": "remove",
"id": "example_user"
}