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

Allow injecting tempfiles into Chef::HTTP #6701

Merged
merged 1 commit into from Dec 20, 2017

Conversation

lamont-granquist
Copy link
Contributor

@lamont-granquist lamont-granquist commented Dec 19, 2017

Necessary to fix remote_file not obeying the same options that the rest of the file providers take.

Also necessary for berkshelf to inject a Tempfile and control the binmode.

The default in Chef::HTTP should probably be to set binmode to true, but that seems invasive.

closes #2401

use this to inject the tempfile from
Chef::FileContentManagement::Tempfile

closes #2401

Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
@lock
Copy link

lock bot commented Jan 18, 2019

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.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

remote_file resource uses Tempfile from Chef::HTTP which does not obey file_staging_uses_destdir
2 participants