mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Remove expensive check
This commit is contained in:
parent
6d645cae0e
commit
c90a52ef27
1 changed files with 0 additions and 6 deletions
|
@ -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…
Add table
Reference in a new issue