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
The library is currently using some Ruby 2.3+ code. This is fine for including in Chef client, but we can't use it with the windows cookbook at the moment since it supports Chef 12.7 or later which shipped with Ruby 2.0. We get the following errors running it on Chef 12.7.
Running handlers:
[2018-06-09T07:54:00-07:00] ERROR: Running exception handlers
Running handlers complete
[2018-06-09T07:54:00-07:00] ERROR: Exception handlers complete
Chef Client failed. 9 resources updated in 18 seconds
[2018-06-09T07:54:00-07:00] FATAL: Stacktrace dumped to C:/Users/vagrant/AppData/Local/Temp/kitchen/cache/chef-stacktrace.out
[2018-06-09T07:54:00-07:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2018-06-09T07:54:00-07:00] FATAL: SyntaxError: windows_certificate[C:/certs/GlobalSignRootCA.pem] (test::certificate line 35) had an error: SyntaxError: C:/opscode/chef/embedded/lib/ruby/gems/2.0.0/gems/win32-certstore-0.1.0/lib/win32/certstore/mixin/assertions.rb:25: syntax error, unexpected '.'
unless valid_store_name.include?(store_name&.upcase)
^
C:/opscode/chef/embedded/lib/ruby/gems/2.0.0/gems/win32-certstore-0.1.0/lib/win32/certstore/mixin/assertions.rb:90: syntax error, unexpected keyword_end, expecting end-of-input```
The text was updated successfully, but these errors were encountered:
The library is currently using some Ruby 2.3+ code. This is fine for including in Chef client, but we can't use it with the windows cookbook at the moment since it supports Chef 12.7 or later which shipped with Ruby 2.0. We get the following errors running it on Chef 12.7.
The text was updated successfully, but these errors were encountered: