also wipe when regen thin

This commit is contained in:
Thomas S Hatch 2016-07-26 16:19:57 -06:00
parent 423a356ff5
commit 265b1dd7fb

View File

@ -206,6 +206,8 @@ class SSH(object):
else:
self.event = None
self.opts = opts
if self.opts['regen_thin']:
self.opts['ssh_wipe'] = True
if not salt.utils.which('ssh'):
raise salt.exceptions.SaltSystemExit('No ssh binary found in path -- ssh must be installed for salt-ssh to run. Exiting.')
self.opts['_ssh_version'] = ssh_version()