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
Chef calls the load_current_resource method in the config provider to determine the current state of the node. This method throws an exception if the resource is malformed (see: https://github.com/chrisroberts/elecksee/blob/master/lib/elecksee/lxc_file_config.rb#L129). In other words, the code exits before chef is able to repair the malformed resource to the correct state. Then a single misconfiguration or a bad file create would mean any recipe using this LWRP might never work again. This could be potentially problematic.
The text was updated successfully, but these errors were encountered:
Chef calls the
load_current_resource
method in theconfig
provider to determine the current state of the node. This method throws an exception if the resource is malformed (see: https://github.com/chrisroberts/elecksee/blob/master/lib/elecksee/lxc_file_config.rb#L129). In other words, the code exits before chef is able to repair the malformed resource to the correct state. Then a single misconfiguration or a bad file create would mean any recipe using this LWRP might never work again. This could be potentially problematic.The text was updated successfully, but these errors were encountered: