salt/tests/unit/ssh/__init__.py
Eric Radman 3e03f8a400 Fix ssh key deployment when using minimal salt-ssh roster
Allows this code path to succeed for a minimal roster file that does not
specify `ssh_options`

$ sudo salt-ssh 'login1*' test.ping
Permission denied for host login1, do you want to deploy the salt-ssh
key? (password required):
[Y/n] Y
Password for root@login1:
login1:
    True
2017-01-25 12:43:11 -05:00

2 lines
24 B
Python