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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!