chef12.0

Get Custom JSON from Stack Settings in AWS OpsWorks with Chef 12

江枫思渺然 提交于 2020-07-22 05:38:24
问题 I'm currently working on the OpsWorks stacks with Chef 12, writing my own deploying recipes. Is there any possibilities to get the content of the field "Custom JSON" in Stack Settings? Cheers, xiGUAwanOU 回答1: All that data gets set as node attributes, so you can access it as per normal via the node object. 来源: https://stackoverflow.com/questions/39707501/get-custom-json-from-stack-settings-in-aws-opsworks-with-chef-12