saltstack / salt

Software to automate the management and configuration of any infrastructure or application at scale. Get access to the Salt software package repository here:
https://repo.saltproject.io/
Apache License 2.0
13.98k stars 5.47k forks source link

[3007.x] Fix Salt-SSH crash when key deploy is skipped manually #66613

Open lkubb opened 4 weeks ago

lkubb commented 4 weeks ago

What does this PR do?

Ensures Salt-SSH does not crash when the user prompt for key deployment is answered with no.

What issues does this PR fix or reference?

Fixes: https://github.com/saltstack/salt/issues/66610

Previous Behavior

ValueError: not enough values to unpack (expected 2, got 1)

New Behavior

works

Merge requirements satisfied?

Commits signed with GPG?

Yes