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

scp silently ignores existing files in SUT #40

Open
bastelfreak opened this issue Jul 23, 2024 · 0 comments
Open

scp silently ignores existing files in SUT #40

bastelfreak opened this issue Jul 23, 2024 · 0 comments
Labels

Comments

@bastelfreak
Copy link
Member

We use scp to copy Hiera files into the SUT:

scp_to hst, File.expand_path(source), hiera_datadir(hst)

In case a files exists already in the SUT, we won't overwrite it. We also don't log that we skipped a file. This can make debugging really confusing.

The scp method comes from https://github.com/voxpupuli/beaker/blob/dbd0f4346a853932985439dbabe0246836f82d54/lib/beaker/dsl/helpers/host_helpers.rb#L161-L171 -> https://github.com/voxpupuli/beaker/blob/dbd0f4346a853932985439dbabe0246836f82d54/lib/beaker/ssh_connection.rb#L288-L318

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

No branches or pull requests

1 participant