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
Our kitchen tests started failing when we upgraded to chef 12.19.33.
test code:
describe 'recipe::system::apache' do it 'Installs the Apache web server' do package('httpd').must_be_installed end end
test error:
1) Error: recipe::system::apache#test_0001_Installs the Apache web server: NoMethodError: undefined method `arch' for Chef::Resource::Package /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.19.33/lib/chef/resource.rb:1377:in `method_missing' /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.19.33/lib/chef/provider/package/yum.rb:517:in `safe_arch_array' /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.19.33/lib/chef/provider/package/yum.rb:220:in `block in query_yum_cache' /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.19.33/lib/chef/provider/package/yum.rb:216:in `each' /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.19.33/lib/chef/provider/package/yum.rb:216:in `each_with_index' /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.19.33/lib/chef/provider/package/yum.rb:216:in `query_yum_cache' /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.19.33/lib/chef/provider/package/yum.rb:92:in `load_current_resource'
They pass when I use chef 12.18.31 instead.
The text was updated successfully, but these errors were encountered:
Same issue here; identical failure mode, same workaround (12.18.31).
Sorry, something went wrong.
No branches or pull requests
Our kitchen tests started failing when we upgraded to chef 12.19.33.
test code:
test error:
They pass when I use chef 12.18.31 instead.
The text was updated successfully, but these errors were encountered: