We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 { "example.yml": path => "/tmp/example.yml", source => "https://github.com/examplefile.yml", extract_path => /opt/new/dir, headers => [ 'Accept: application/vnd.github.raw', "Authorization: Bearer ${github_token}", ], provider => 'curl', cleanup => false, }
Only the first --header flag is available at execution --header 'Accept: application/vnd.github.raw'
--header
--header 'Accept: application/vnd.github.raw'
Repition of headers --header 'Accept: application/vnd.github.raw' --header 'Authorization: Bearer xxx_example_token'
--header 'Accept: application/vnd.github.raw' --header 'Authorization: Bearer xxx_example_token'
The text was updated successfully, but these errors were encountered:
Looks like this is a bug in #475.
Sorry, something went wrong.
#483 adds tests for multiple headers to demonstrate the bug.
Successfully merging a pull request may close this issue.
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
What are you seeing
Only the first
--header
flag is available at execution--header 'Accept: application/vnd.github.raw'
What behaviour did you expect instead
Repition of headers
--header 'Accept: application/vnd.github.raw' --header 'Authorization: Bearer xxx_example_token'
Output log
Any additional information you'd like to impart
The text was updated successfully, but these errors were encountered: