【发布时间】:2013-12-10 09:00:38
【问题描述】:
我正在尝试使用 Chef Solo 使用 http://pastie.org/private/rfrpsjvl2ldxjky91r6zqg 之类的块覆盖 https://github.com/elasticsearch/cookbook-elasticsearch/blob/master/attributes/default.rb#L51。
# filename: chef/roles/elasticsearch.rb
name "elasticsearch"
description "Args"
run_list ['recipe[java]', 'recipe[elasticsearch]']
override_attributes { "node" => { "elasticsearch" => { "bootstrap" => { "mlockall" => false } } } }
# Also tried:
# override_attributes { "elasticsearch" => { "bootstrap" => { "mlockall" => false } } }
这似乎是我的厨师版本中的一个错误(11.4.4,issue at Google Cache, because of the opscodepocalypse)
最近引入的更改为需要额外的元数据似乎有些问题,但我找不到任何参考。
如果不定义包装说明书,我该如何覆盖这些属性?
如果有人能告诉我如何使用 Chef-solo 自己调试这个问题,那么奖金?
【问题讨论】:
标签: chef-infra chef-solo