使用Chef 12从AWS OpsWorks中的堆栈设置获取自定义JSON [英] Get Custom JSON from Stack Settings in AWS OpsWorks with Chef 12

查看:67
本文介绍了使用Chef 12从AWS OpsWorks中的堆栈设置获取自定义JSON的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在与Chef 12一起在OpsWorks堆栈上工作,编写自己的部署配方。是否有可能在堆栈设置中获取自定义JSON字段的内容?

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?

干杯,

xiGUAwanOU

Cheers,
xiGUAwanOU

推荐答案

所有数据都设置为节点属性,因此您可以通过 node 对象。

All that data gets set as node attributes, so you can access it as per normal via the node object.

这篇关于使用Chef 12从AWS OpsWorks中的堆栈设置获取自定义JSON的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆