You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The include_attribute 'elasticsearch::plugins' in aws attributes is not working (Chef: 11.4.4). And node.default.elasticsearch[:plugins] ||= plugins in plugins attributes is not setting it up as it already has aws plugin in it.
Anyway, why use '||=' when '=' will simply merge attributes and everything will work fine.
Thanks,
Maciek
The text was updated successfully, but these errors were encountered:
Could you please describe what is "not working" in more detail?
Chef attributes are very, very hard to code with and against, in my experience, so there might be some defensive technique used. In the plugins.rb case, the node could have default attributes from role or something, don't remember correctly.
Hi,
The include_attribute 'elasticsearch::plugins' in aws attributes is not working (Chef: 11.4.4). And node.default.elasticsearch[:plugins] ||= plugins in plugins attributes is not setting it up as it already has aws plugin in it.
Anyway, why use '||=' when '=' will simply merge attributes and everything will work fine.
Thanks,
Maciek
The text was updated successfully, but these errors were encountered: