0
下面我有環境文件和配方可以解釋我沒有得到什麼是在這裏列表。這是什麼意思這裏列表數組調用
{
"json_class": "Chef::Environment",
"description": "prod environment",
"default_attributes": {
},
"chef_type": "environment",
"override_attributes": {
"user": {
"mapr": {
"id": "application",
"group": "application",
},
"local" : {
"id": "chef",
"group": "chef"
},
"ldap" : {
"id": "ldap",
"sudo": true,
},
}
"name": "prod"
}
下面是食譜什麼是這裏的名單我沒有得到
node['user_create'].each do |list, user|
group user['group'] do
group_name user['group']
gid user['gid']
action [:create]
ignore_failure true
end
user user do
username user['id']
uid user['uid']
group user['gid']
home user['home']
manage_home true
end
if list !='ldap'
如何列表路過這裏,如果條件
對不起,我錯過了} – Udhay
我對devops很新,直到現在我已經從系統管理員突然從過去2個月,我在廚師,但沒有得到太多的幫助我,我怎麼能 – Udhay