We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We have been using this cookbook for a while. Recently it started throwing this error that it can't find ::Win32::Registry
Using chef 12.13.x
10.3.30.249 10.3.30.249 10.3.30.249 ================================================================================ 10.3.30.249 Recipe Compile Error in c:/chef/cache/cookbooks/ark/attributes/default.rb 10.3.30.249 ================================================================================ 10.3.30.249 10.3.30.249 Win32::Registry::Error 10.3.30.249 ---------------------- 10.3.30.249 The system cannot find the file specified. 10.3.30.249 10.3.30.249 Cookbook Trace: 10.3.30.249 --------------- 10.3.30.249 c:/chef/cache/cookbooks/ark/attributes/default.rb:25:in `from_file' 10.3.30.249 10.3.30.249 Relevant File Content: 10.3.30.249 ---------------------- 10.3.30.249 c:/chef/cache/cookbooks/ark/attributes/default.rb: 10.3.30.249 10.3.30.249 18: 10.3.30.249 19: default['ark']['apache_mirror'] = 'http://apache.mirrors.tds.net' 10.3.30.249 20: default['ark']['prefix_root'] = '/usr/local' 10.3.30.249 21: default['ark']['prefix_bin'] = '/usr/local/bin' 10.3.30.249 22: default['ark']['prefix_home'] = '/usr/local' 10.3.30.249 23: default['ark']['tar'] = case node['platform_family'] 10.3.30.249 24: when 'windows' 10.3.30.249 25>> "\"#{::Win32::Registry::HKEY_LOCAL_MACHINE.open( 10.3.30.249 26: 'SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\7zFM.exe', ::Win32::Registry::KEY_READ).read_s('Path')}\\7z.exe\"" 10.3.30.249 27: when 'mac_os_x', 'freebsd' 10.3.30.249 28: '/usr/bin/tar' 10.3.30.249 29: when 'smartos' 10.3.30.249 30: '/bin/gtar' 10.3.30.249 31: else 10.3.30.249 32: '/bin/tar' 10.3.30.249 33: end 10.3.30.249 34: 10.3.30.249 10.3.30.249 Platform: 10.3.30.249 --------- 10.3.30.249 x64-mingw32 10.3.30.249 10.3.30.249 [2016-09-10T20:55:44-04:00] ERROR: Running exception handlers 10.3.30.249 [2016-09-10T20:55:44-04:00] ERROR: Exception handlers complete 10.3.30.249 [2016-09-10T20:55:44-04:00] INFO: Sending resource update report (run-id: b530c2c9-280d-4d52-adba-c76607ab9e74) 10.3.30.249 [2016-09-10T20:55:45-04:00] FATAL: Stacktrace dumped to c:/chef/cache/chef-stacktrace.out 10.3.30.249 [2016-09-10T20:55:45-04:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report 10.3.30.249 [2016-09-10T20:55:45-04:00] FATAL: Win32::Registry::Error: The system cannot find the file specified.
This is reproducible with test kitchen.
The cookbook versions it is trying to use are:
Transferring files to <dotnet-agent-windows2012r2> Starting Chef Client, version 12.13.37 Creating a new client identity for dotnet-agent-windows2012r2 using the validator key. resolving cookbooks for run list: ["test-helper::default", "iis", "appdynamics::dotnet_agent"] Synchronizing Cookbooks: - test-helper (0.0.1) - iis (5.0.0) - appdynamics (0.2.5) - windows (2.0.2) - python (1.4.6) - nodejs (2.4.4) - java (1.42.0) - apt (4.0.2) - powershell (5.0.0) - ark (1.2.0) - build-essential (6.0.5) - yum-epel (1.0.1) - homebrew (2.1.2) - compat_resource (12.14.2) - ms_dotnet (3.0.0) - chef_handler (1.4.0) - seven_zip (2.0.2) - mingw (1.2.4) - yum (4.0.0) Installing Cookbook Gems: Compiling Cookbooks... ================================================================================ Recipe Compile Error in C:/Users/ADMINI~1/AppData/Local/Temp/kitchen/cache/cookbooks/ark/attributes/default.rb ================================================================================ Win32::Registry::Error ---------------------- The system cannot find the file specified. Platform: --------- x64-mingw32 Running handlers: [2016-09-12T10:26:41-07:00] ERROR: Running exception handlers Running handlers complete [2016-09-12T10:26:41-07:00] ERROR: Exception handlers complete Chef Client failed. 0 resources updated in 30 seconds [2016-09-12T10:26:41-07:00] FATAL: Stacktrace dumped to C:/Users/ADMINI~1/AppData/Local/Temp/kitchen/cache/chef-stacktrace.out [2016-09-12T10:26:41-07:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report [2016-09-12T10:26:41-07:00] FATAL: Win32::Registry::Error: The system cannot find the file specified. $$$$$$ C:/opscode/chef/embedded/lib/ruby/2.1.0/x64-mingw32/dl.so: warning: already initialized constant DL::RUBY_FREE $$$$$$ C:/opscode/chef/embedded/lib/ruby/gems/2.1.0/gems/net-ssh-3.2.0/lib/net/ssh/authentication/pageant.rb:16: warning: previous definition of RUBY_FREE was here $$$$$$ DL is deprecated, please use Fiddle
https://github.com/chef-cookbooks/ark/blob/master/CHANGELOG.md#12-2016-07-03
sous-chefs/ark#157
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We have been using this cookbook for a while. Recently it started throwing this error that it can't find ::Win32::Registry
Using chef 12.13.x
This is reproducible with test kitchen.
The cookbook versions it is trying to use are:
https://github.com/chef-cookbooks/ark/blob/master/CHANGELOG.md#12-2016-07-03
sous-chefs/ark#157
The text was updated successfully, but these errors were encountered: