Pass port to ssh.check_known_host, closes #35264 (#35301)

This commit is contained in:
Ivan Babrou 2016-08-09 20:16:01 +01:00 committed by Nicole Thomas
parent 243909f39d
commit 244c3bd495

View file

@ -120,7 +120,8 @@ def present(
result = __salt__['ssh.check_known_host'](user, name,
key=key,
fingerprint=fingerprint,
config=config)
config=config,
port=port)
except CommandNotFoundError as err:
ret['result'] = False
ret['comment'] = 'ssh.check_known_host error: {0}'.format(err)