问题
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