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
I have followed the exact same steps as mentioned on rove.io website, first vagrant up was showing some issue which i resolved by installing some dependency. Now i am getting a runtime error every time i run vagrant reload or vagrant reload --provision
my code stuck near here:
==> default: Compiling Cookbooks...
==> default:
==> default: ================================================================================
==> default: Recipe Compile Error in /tmp/vagrant-chef/cc9e1c118b8a6e466bd05ed1363cda86/cookbooks/compat_resource/libraries/autoload.rb
==> default: ================================================================================
==> default:
==> default:
==> default: RuntimeError
==> default: ------------
==> default: This resource is written with Chef 12.5 custom resources, and requires at least Chef 12.0 used with the compat_resource cookbook, it will not work with Chef 11.x clients, and those users must pin their cookbooks to older versions or upgrade.
==> default:
==> default:
==> default: Cookbook Trace:
==> default: ---------------
==> default: /tmp/vagrant-chef/cc9e1c118b8a6e466bd05ed1363cda86/cookbooks/compat_resource/libraries/autoload.rb:2:in `<top (required)>'
==> default:
==> default:
==> default: Relevant File Content:
==> default: ----------------------
==> default: /tmp/vagrant-chef/cc9e1c118b8a6e466bd05ed1363cda86/cookbooks/compat_resource/libraries/autoload.rb:
==> default:
==> default: 1: unless Gem::Requirement.new(">= 12.0").satisfied_by?(Gem::Version.new(Chef::VERSION))
==> default: 2>> raise "This resource is written with Chef 12.5 custom resources, and requires at least Chef 12.0 used with the compat_resource cookbook, it will not work with Chef 11.x clients, and those users must pin their cookbooks to older versions or upgrade."
==> default: 3: end
==> default: 4:
==> default: 5: # If users are on old verisons of ChefDK which activates an (old) gem via cheffish before this cookbook loads, then
==> default: 6: # we just try to monkeypatch over the top of a monkeypatch. Its possible that we have checks in this cookbook which
==> default: 7: # will defeat that purpose and fail to monkeypatch on top of monkeypatches -- in which case those checks should be
==> default: 8: # removed -- this cookbook needs to win when it gets into a fight with the old gem versions.
==> default: 9: if Gem.loaded_specs["compat_resource"]
==> default: 10: Chef.log_deprecation "using compat_resource as a gem is deprecated; please update cheffish and chef-provisioning gems (or use the latest Chef/ChefDK packages) or else manually pin your compat_resource cookbook version to the same version as the gem you are using to remove this warning"
==> default: 11: end
==> default:
==> default:
==> default:
==> default: [2018-01-02T21:58:43+00:00] ERROR: Running exception handlers
==> default: [2018-01-02T21:58:43+00:00] ERROR: Exception handlers complete
==> default: Chef Client failed. 0 resources updated
==> default: [2018-01-02T21:58:43+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
==> default: [2018-01-02T21:58:43+00:00] FATAL: RuntimeError: This resource is written with Chef 12.5 custom resources, and requires at least Chef 12.0 used with the compat_resource cookbook, it will not work with Chef 11.x clients, and those users must pin their cookbooks to older versions or upgrade.
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.
Please help asap.
The text was updated successfully, but these errors were encountered:
I have followed the exact same steps as mentioned on rove.io website, first vagrant up was showing some issue which i resolved by installing some dependency. Now i am getting a runtime error every time i run vagrant reload or vagrant reload --provision
my code stuck near here:
Please help asap.
The text was updated successfully, but these errors were encountered: