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

Make salt-ssh respect --wipe again #63037

Merged
merged 2 commits into from
Nov 8, 2022
Merged

Conversation

lkubb
Copy link
Contributor

@lkubb lkubb commented Nov 8, 2022

What does this PR do?

Ensures the opts dict value ssh_wipe passed to wrapped functions is in sync with the current client configuration. This fixes the --wipe CLI option and avoids some cluttering by --rand-thin-dir.

What issues does this PR fix or reference?

Fixes: #61083

Previous Behavior

Thin dir is left behind, regardless of --wipe.

New Behavior

If requested, the thin dir is wiped (since 8a414d5 only for some wrapped modules, namely cp and state – this should probably be documented).

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

Yes

@lkubb lkubb requested a review from a team as a code owner November 8, 2022 03:44
@lkubb lkubb requested review from MKLeb and removed request for a team November 8, 2022 03:44
@Ch3LL Ch3LL merged commit 1e54e40 into saltstack:master Nov 8, 2022
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

Successfully merging this pull request may close these issues.

[BUG] salt-ssh does not respect --wipe
3 participants