[chef] Add recipe users, and users cookbook is enough for user's auto creation ?


Chronological Thread 
  • From: Vladimir Skubriev < >
  • To:
  • Subject: [chef] Add recipe users, and users cookbook is enough for user's auto creation ?
  • Date: Mon, 09 Dec 2013 16:53:26 +0400

I use users cookbook.

I declare a role with appropriate run_list

  "run_list": [
      "recipe[users]",
      "recipe[users::sysadmins]",

Add this role to node, prior to run chef-client of course.

Creating data bag users/sysadmin:

{
  "id": "sysadmin",
  "groups": [ "root", "sysadmin" ],
  "action": "create",
  "password": "",
  "shell": "\/bin\/bash",
  "comment": "Server Admin",
  "nagios": {
    "email": 
" "
  }


Run chef-client on node, and user "sysadmin" & group "sysadmin" doesn't created.

Why ?

Add recipe users, and users cookbook is enough for user's auto creation, when using opscode/users cookbook ?


--
Best regards,

CVision Lab System Administrator
Vladmir Skubriev




Archive powered by MHonArc 2.6.16.

§