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
From @sersut
On Windows Server 2003 R2 and Windows 2008 (both 32 bit) the following spec fails:
20) Chef::Resource::PowershellScript when executing guards evaluates a powershell $false for a not_if block as true Failure/Error: resource.should_skip?(:run).should be_false Chef::Exceptions::Win32ArchitectureIncorrect: powershell_script[Guard resource] (dynamically defined) had an error: Chef::Exceptions::Win32ArchitectureIncorrect: Support for the i386 architecture from a 64- bit Ruby runtime is not yet implemented # C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.14.0.alpha.5-x86-mingw32/lib/chef/provider/windows_script.rb:40:in `initialize' # C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.14.0.alpha.5-x86-mingw32/lib/chef/provider/powershell_script.rb:59:in `initialize' # C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.14.0.alpha.5-x86-mingw32/lib/chef/platform/provider_mapping.rb:454:in `new' # C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.14.0.alpha.5-x86-mingw32/lib/chef/platform/provider_mapping.rb:454:in `provider_for_resource' # C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.14.0.alpha.5-x86-mingw32/lib/chef/resource.rb:682:in `provider_for_action' # C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.14.0.alpha.5-x86-mingw32/lib/chef/resource.rb:648:in `run_action' # C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.14.0.alpha.5-x86-mingw32/lib/chef/guard_interpreter/resource_guard_interpreter.rb:62:in `evaluate_action' # C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.14.0.alpha.5-x86-mingw32/lib/chef/guard_interpreter/resource_guard_interpreter.rb:51:in `evaluate' # C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.14.0.alpha.5-x86-mingw32/lib/chef/resource/conditional.rb:79:in `evaluate_command' # C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.14.0.alpha.5-x86-mingw32/lib/chef/resource/conditional.rb:75:in `evaluate' # C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.14.0.alpha.5-x86-mingw32/lib/chef/resource/conditional.rb:68:in `continue?' # C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.14.0.alpha.5-x86-mingw32/lib/chef/resource.rb:710:in `block in should_skip?' # C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.14.0.alpha.5-x86-mingw32/lib/chef/resource.rb:709:in `each' # C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.14.0.alpha.5-x86-mingw32/lib/chef/resource.rb:709:in `find' # C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.14.0.alpha.5-x86-mingw32/lib/chef/resource.rb:709:in `should_skip?' # C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.14.0.alpha.5-x86-mingw32/spec/functional/resource/powershell_spec.rb:240:in `block (3 levels) in <top (required)>'
The issue might be: https://github.com/opscode/chef/blob/master/lib/chef/mixin/windows_architecture_helper.rb#L67
The text was updated successfully, but these errors were encountered:
Only check WOW64 process when system architecture is x64.
5c68fa0
Fixes #1549
Successfully merging a pull request may close this issue.
From @sersut
On Windows Server 2003 R2 and Windows 2008 (both 32 bit) the following spec fails:
The issue might be: https://github.com/opscode/chef/blob/master/lib/chef/mixin/windows_architecture_helper.rb#L67
The text was updated successfully, but these errors were encountered: