0
내가 약간의 대부분은 문법과 관련된 문제 변경을요리사 (13) 구문은
node['java']['webapps'].each do |object|
name = object[0]
attributes = object[1]
if attributes.attribute?('enabled')
if attributes.enabled
if attributes.attribute?('x')
if attributes.x.attribute?('conf')
attributes.x.conf.each do |conf_file|
template "#{x_conf_dir}/#{conf_file}" do
source "#{conf_file}.erb"
mode '0755'
owner 'tomcat'
group 'tomcat'
end
end
end
end
end
end
end
"attributes.enabled 경우"에
요리사 클라이언트 오류가 바깥 쪽을 향하도록하고있어 13 버전 12에서 요리사 클라이언트를 업그레이드하려고 변경 버전 12 잘 작동 (이것은 계속해야하는 경우 활성화 된 배열 = TRUE)
는 지금은 타격있어
배열의 값을 확인하기위한 올바른 구문은 무엇인가 "정의되지 않은 방법은 '사용 가능'"?