Closed abadelt closed 7 years ago
Hi! A first guess - looks like chef13 has changed syntax about attributes setters. Probably not a big deal, need to try out something like that:
default['cpan_client']['bootstrap']['packages'] = ...
So on ...
Hi! Thanks for the super-fast reply. That solves the issue. Do you want me to create a pull request?
Thanks and regards, Andreas
Hi Andreas! It would be great , as I dont't have much time for the moment.
uploaded to supermarket - https://supermarket.chef.io/cookbooks/cpan/versions/0.0.35
Hi,
I'm getting the error "undefined method `cpan_client' for #" in cpan/attributes/default.rb from a kitchen run. This only happens with Chef 13. It works when I switch back to Chef 12 - which of course is not a long-term workaround.
My metadata.rb states a dependency on instantclient: depends 'oracle-instantclient', '~> 1.1' which in turn states: depends 'cpan'
The full error message is: Installing Cookbook Gems: Compiling Cookbooks...
Any idea why this happens with the new Chef version?
Thanks and regards, Andreas