mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Remove expensive check
This commit is contained in:
parent
6d645cae0e
commit
c90a52ef27
@ -38,12 +38,6 @@ def __virtual__():
|
||||
if salt.utils.is_windows():
|
||||
return False, 'ssh_known_hosts: Does not support Windows'
|
||||
|
||||
if 'ssh.set_known_host' not in __salt__ \
|
||||
or 'ssh.check_known_host' not in __salt__ \
|
||||
or 'ssh.get_known_host' not in __salt__ \
|
||||
or 'ssh.rm_known_host' not in __salt__:
|
||||
return False, 'ssh_known_hosts: Missing required module "ssh"'
|
||||
|
||||
return __virtualname__
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user