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
Getting error on Chef 10.30.4 and Vagrant 1.6.5
==> default: ================================================================================ ==> default: Recipe Compile Error in /tmp/vagrant-chef-3/chef-solo-1/cookbooks/rabbitmq/providers/plugin.rb ==> default: ================================================================================ ==> default: NameError ==> default: --------- ==> default: undefined local variable or method `use_inline_resources' for #<Class:0x00000001ad3468> ==> default: Cookbook Trace: ==> default: --------------- ==> default: /tmp/vagrant-chef-3/chef-solo-1/cookbooks/rabbitmq/providers/plugin.rb:37:in `class_from_file' ==> default: ==> default: Relevant File Content: ==> default: ---------------------- ==> default: /tmp/vagrant-chef-3/chef-solo-1/cookbooks/rabbitmq/providers/plugin.rb: ==> default: ==> default: 30: cmd.run_command ==> default: 31: Chef::Log.debug "rabbitmq_plugin_enabled?: #{cmdstr}" ==> default: 32: Chef::Log.debug "rabbitmq_plugin_enabled?: #{cmd.stdout}" ==> default: 33: cmd.error! ==> default: 34: cmd.stdout =~ /\b#{name}\b/ ==> default: 35: end ==> default: 36: ==> default: 37>> use_inline_resources ==> default: 38: ==> default: 39: action :enable do ==> default: 40: unless plugin_enabled?(new_resource.plugin) ==> default: 41: execute "rabbitmq-plugins enable #{new_resource.plugin}" do ==> default: 42: Chef::Log.info "Enabling RabbitMQ plugin '#{new_resource.plugin}'." ==> default: 43: path plugins_bin_path(true) ==> default: 44: new_resource.updated_by_last_action(true) ==> default: 45: end ==> default: 46: end ==> default:
The text was updated successfully, but these errors were encountered:
The use_inline_resources was introduced in Chef 11 (thanks @mattray for the info), it looks like we don't test/support Chef 10.
use_inline_resources
I don't think we are planning on supporting Chef 10 with this cookbook either, so i'm going to close this and make it explicit in the README.
Sorry, something went wrong.
No branches or pull requests
Getting error on Chef 10.30.4 and Vagrant 1.6.5
The text was updated successfully, but these errors were encountered: