Skip to content
New issue

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

Cookbook failed on chef-client 17.8.25 #398

Open
devopscloudsre opened this issue Jan 19, 2022 · 2 comments
Open

Cookbook failed on chef-client 17.8.25 #398

devopscloudsre opened this issue Jan 19, 2022 · 2 comments

Comments

@devopscloudsre
Copy link

ArgumentError

wrong number of arguments (given 2, expected 1)

Cookbook Trace: (most recent call first)

/root/.chef/local-mode-cache/cache/cookbooks/poise/files/halite_gem/poise/helpers/option_collector.rb:98:in option_collector_attribute' /root/.chef/local-mode-cache/cache/cookbooks/poise/files/halite_gem/poise/helpers/option_collector.rb:83:in attribute'
/root/.chef/local-mode-cache/cache/cookbooks/poise/files/halite_gem/poise/helpers/template_content.rb:143:in attribute' /root/.chef/local-mode-cache/cache/cookbooks/poise-archive/files/halite_gem/poise_archive/resources/poise_archive.rb:67:in class:Resource'
/root/.chef/local-mode-cache/cache/cookbooks/poise-archive/files/halite_gem/poise_archive/resources/poise_archive.rb:39:in <module:PoiseArchive>' /root/.chef/local-mode-cache/cache/cookbooks/poise-archive/files/halite_gem/poise_archive/resources/poise_archive.rb:28:in module:Resources'
/root/.chef/local-mode-cache/cache/cookbooks/poise-archive/files/halite_gem/poise_archive/resources/poise_archive.rb:25:in <module:PoiseArchive>' /root/.chef/local-mode-cache/cache/cookbooks/poise-archive/files/halite_gem/poise_archive/resources/poise_archive.rb:24:in <top (required)>'
/root/.chef/local-mode-cache/cache/cookbooks/poise-archive/files/halite_gem/poise_archive/resources.rb:17:in <top (required)>' /root/.chef/local-mode-cache/cache/cookbooks/poise-archive/files/halite_gem/poise_archive/cheftie.rb:17:in <top (required)>'
/root/.chef/local-mode-cache/cache/cookbooks/poise-archive/libraries/default.rb:19:in `<top (required)>'

+++++++++++++

I have removed poise-python and then it worked.. Can you please help us release a new version.. Thanks!!

@scrthq
Copy link
Contributor

scrthq commented Mar 3, 2022

👍 this is very necessary, especially with Chef Infra 18 out in development preview already. Poise is long deprecated and as of 17 no longer works due to the upgrade to Ruby 3.0

@djoos
Copy link
Member

djoos commented Mar 8, 2022

If you don't make use of the Python side of things of this cookbook, removing the poise-python dependency is a workaround, keeping in mind that the agent_python provider makes use of poise_python resource(s) and will need refactoring.

Happy for anyone to help out and push me a PR to fast-track the process.

HTH!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants