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
{{ message }}
This repository has been archived by the owner on Sep 19, 2020. It is now read-only.
node.run_state doesn't contain node attributes, and is a Hash, and doesn't allow for arbitrary switching between strings or symbols.
It does have uses inside cookbooks, such as for tracking transient data used by the node between recipes, for example in Opscode's nginx::source recipe and modules that should be compiled.
FC001: Use strings in preference to symbols to access node attributes
48|end
49|
50|node.run_state[:nginx_configure_flags] =
FC001: Use strings in preference to symbols to access node attributes
51| node.run_state[:nginx_configure_flags] | ["--add-module=#{node["nginx"]["passenger"]["root"]}/ext/nginx"]
The text was updated successfully, but these errors were encountered:
node.run_state
doesn't contain node attributes, and is a Hash, and doesn't allow for arbitrary switching between strings or symbols.It does have uses inside cookbooks, such as for tracking transient data used by the node between recipes, for example in Opscode's
nginx::source
recipe and modules that should be compiled.Match results, e.g.:
The text was updated successfully, but these errors were encountered: