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
In line with the recommendation here: https://docs.chef.io/ruby.html#node-set it is better to use node.default in most cases as this is rebuilt on the node object during each chef run. Where persistence is really needed, node.normal is more clear.
The text was updated successfully, but these errors were encountered:
webframp
added a commit
to webframp/graylog2-cookbook
that referenced
this issue
Nov 22, 2016
The primary difference being that node.set is persisted with the node object,
whereas node.default is built during each chef run. Since this usage is using
`search_for_nodes` to discover the value during the chef run node.default seems
like it should be safe.
This is in line with current community recommendations and partially fixesGraylog2#80
webframp
added a commit
to webframp/graylog2-cookbook
that referenced
this issue
Nov 22, 2016
This is a future deprecation warning currently.
In line with the recommendation here: https://docs.chef.io/ruby.html#node-set it is better to use
node.default
in most cases as this is rebuilt on the node object during each chef run. Where persistence is really needed,node.normal
is more clear.The text was updated successfully, but these errors were encountered: