我想知道是否有可能指定我想在节点级别使用的菜谱版本。 当前版本被冻结,而不是解冻它,我只想为特定节点使用不同的版本。
我已经为该节点的角色附加了一个运行列表,并且我试图在节点default和override属性部分中分别手动指定运行列表,但无济于事。
以下是我的属性示例:
{ "tags": [], "missionspace2": { "version": "1.0.0" }, "run_list": [ "recipe[recipeOne@0.8.3]", "recipe[recipeTwo@0.2.0]" ] }有任何想法吗?
谢谢
I was wondering if it was possible for me to specify the version of a cookbook that I wanted to use at the node level. The current version is frozen and instead of unfreezing it, I'd just like to use a different version for a specific node.
I already have a run-list attached to my role for that node and I have tried to specify the run-list manually in the node default and override attributes sections respectively to no avail.
Here is an example of my attributes:
{ "tags": [], "missionspace2": { "version": "1.0.0" }, "run_list": [ "recipe[recipeOne@0.8.3]", "recipe[recipeTwo@0.2.0]" ] }Any ideas?
Thanks
最满意答案
您可以在节点的运行列表中的节点级别设置它,但不能通过属性设置节点的运行列表。 所以对您提出的问题“是”,但对您使用的实施示例为“否”。
You can set it at the node level in the node's run list but you cannot set a node's run list via attributes. So "yes" to the question you asked but "no" to the implementation example you used.
更多推荐
发布评论