这个厨师属性来自哪里,为什么我不能改变它?
当我更改angular色时,厨师节点的属性没有更新,旧值持续存在。 node['nagios']['custom_variables']['styleurl']属性没有更新到/urlprefix的新值, /urlprefix卡在旧值urlprefix 。 我一个多星期前就改变了angular色定义。 另一个与chef-client(这是看这个属性的nagios服务器)的节点: # chef-shell -z chef > nodes.show("server2.example.com")['nagios']['custom_variables']['styleurl'] => "urlprefix" 节点和angular色定义(下面)不包括这个值,只包含/urlprefix 。 debug_value告诉我这是来自一个覆盖。 chef > nodes.show("server2.example.com").debug_value("nagios", "custom_variables", "styleurl") => [["set_unless_enabled?", false], ["default", :not_present], ["env_default", :not_present], ["role_default", :not_present], ["force_default", :not_present], ["normal", :not_present], ["override", "osm"], ["role_override", :not_present], ["env_override", :not_present], ["force_override", :not_present], ["automatic", :not_present]] knife node show -l显示我有一个override该variables。 (见下面的输出)。 我使用这些属性来configuration我的nagios检查。 Nagiosconfiguration了厨师,显然我的nagios检查失败了。 我怎么能改变angular色的属性? 为什么override_attribute这个angular色不是, 重写属性呢? […]