Hi,
Since the Windows cookbook uses Ohai now for package management, I need to configure Ohai settings on my client.
I get errors similar to this currently (using Chefzero):
[2016-12-18T20:08:33+00:00] INFO: Processing ohai_plugin[dism_features] action create (C:/Windows/system32/config/systemprofile/.chef/local-mode-cache/cache/cookbooks/windows/providers/feature_dism.rb line 79)
[2016-12-18T20:08:33+00:00] FATAL: No chef config file defined. Are you running chef-solo? If so you will need to define a path for the ohai_plugin as the path cannot be determined
I tried defining the plugin path in the c:\chef\client.rb but I still get this error.
I am starting up Chef with several command line options, including running Chefzero, specifying runlists etc. Will that cause the config file to be ignored?
Thanks.
Andrew.