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
[2016-12-18T20:08:33+00:00] INFO: Processing windows_feature[IIS-WebServerRole] action install (iis::default line 25)
[2016-12-18T20:08:33+00:00] INFO: node['dism_features'] data missing. Installing the dism_features Ohai plugin
[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
[2016-12-18T20:08:33+00:00] INFO: Running queued delayed notifications before re-raising exception
[2016-12-18T20:08:33+00:00] ERROR: Running exception handlers
[2016-12-18T20:08:33+00:00] ERROR: Exception handlers complete
[2016-12-18T20:08:33+00:00] FATAL: Stacktrace dumped to C:/Windows/system32/config/systemprofile/.chef/local-mode-cache/cache/chef-stacktrace.out
[2016-12-18T20:08:33+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
Here's the text: "If so you will need to define a path for the ohai_plugin as the path cannot be determined". How can I define a path for the ohai_plugin?
I check on this from time to time because it has kept me on a very old Windows cookbook for over a year, and also an older Chef release. Is there no workaround available or has this been fixed in a later release somehow?
Cookbook version
4.2.3
Chef-client version
12.17.44
Platform Details
Windows 2012 R2 - AWS
Scenario:
I am trying to install IIS with iis cookbook (5.0.5)
depends on windows cookbook (2.1.1)
Steps to Reproduce:
recipes/default.rb
Expected Result:
Expected to install IIS
Actual Result:
End with the error message
chef-stacktrace.out
There is no such error if I use windows cookbook 2.0.2
The text was updated successfully, but these errors were encountered: