- From: Vladimir Skubriev <
>
- To:
- Subject: [chef] Re: Re: Add recipe users, and users cookbook is enough for user's auto creation ?
- Date: Tue, 10 Dec 2013 08:30:04 +0400
09.12.2013 18:10, Mike пишет:
Vladimir,
Is the data bag item valid json? From what you've pasted, it doesn't
look like it has a final closing }.
And has the data bag been uploaded to Chef Server?
-M
Thank you for suggest.
I use a valid data bag(full version copy from vim):
{
"name": "data_bag_item_users_sysadmin",
"json_class": "Chef::DataBagItem",
"chef_type": "data_bag_item",
"data_bag": "users",
"raw_data": {
"groups": [
"root",
"sysadmin"
],
"id": "sysadmin",
"comment": "Server Admin",
"password": "",
"nagios": {
"email":
"
"
},
"action": "create",
"shell": "/bin/bash"
}
}
Additionaly! This databag can be viewed from web ui of chef-server.
--
Best regards,
CVision Lab System Administrator
Vladmir Skubriev
Archive powered by MHonArc 2.6.16.