-
Notifications
You must be signed in to change notification settings - Fork 76
Description
Cookbook version
2.0.1
Chef-client version
15.1.36
Platform Details
Windows 10
Scenario:
Trying to install chocolatey with chef-run or chef-apply
Steps to Reproduce:
Launched chef-run or chef-apply on default.rb
Expected Result:
Install chocolatey on target system
Actual Result:
On remote failed to converge and no log.
On local I see the log that says:
Generated at 2019-07-29 20:59:36 +0200
'
NameError: uninitialized constant #<Class:#Chef::Recipe:0x0000000007eee678>::Chocolatey
..\Downloads\chocolatey\recipes\default.rb:25:inrun_chef_recipe' C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.6.0/gems/chef-15.1.36-universal-mingw32/lib/chef/application/apply.rb:195:ininstance_eval'
C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.6.0/gems/chef-15.1.36-universal-mingw32/lib/chef/application/apply.rb:195:inrun_chef_recipe' C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.6.0/gems/chef-15.1.36-universal-mingw32/lib/chef/application/apply.rb:209:inrun_application'
C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.6.0/gems/chef-15.1.36-universal-mingw32/lib/chef/application/apply.rb:222:inrun' C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.6.0/gems/chef-bin-15.1.36/bin/chef-apply:24:in<top (required)>'
C:/opscode/chef-workstation/modules/chef/../../bin/chef-apply:359:inload' C:/opscode/chef-workstation/modules/chef/../../bin/chef-apply:359:in