Skip to content

Make salt-ssh respect --wipe again#63037

Merged
Ch3LL merged 2 commits into
saltstack:masterfrom
lkubb:salt-ssh-wipe
Nov 8, 2022
Merged

Make salt-ssh respect --wipe again#63037
Ch3LL merged 2 commits into
saltstack:masterfrom
lkubb:salt-ssh-wipe

Conversation

@lkubb
Copy link
Copy Markdown
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