-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
archive_file fails with uninitialized constant Chef::Resource::ArchiveFile::Archive since 15.9.17 #9684
Comments
This should resolve: #9684 Signed-off-by: Tim Smith <[email protected]>
This should resolve: #9684 Signed-off-by: Tim Smith <[email protected]>
Also hitting this bug |
Fun story I did
|
I need to shuffle the requires around a bit to make this one work. It was breaking our specs if I added the require to the base of the resource. Fix incoming. |
chef-boneyard/libarchive#44 is kinda related 🤞 |
This is something I wrote on my whiteboard for after Chef 16 / Workstation 20.6 / ChefDk 4.8 was done. Give me some time to clean this up. |
@hammerhead This should be fixed with #9951 |
Awesome, thank you @tas50! |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description
Unpacking an archive using
archive_file
fails withNameError: uninitialized constant Chef::Resource::ArchiveFile::Archive
.Chef Version
15.9.17. Also reproducible in 16.0.216. Not reproducible in 15.8.23.
Platform Version
Replication Case
Create a recipe:
archive.zip is attached.
Run the recipe with
chef-solo -c solo.rb -o 'recipe[demo]'
(solo.rb
contains onlycookbook_path '/home/ubuntu/cookbooks'
) .Client Output
Stacktrace
stacktrace.txt
The text was updated successfully, but these errors were encountered: