Disable custom rosters in API

This commit is contained in:
Bo Maryniuk 2017-01-05 19:09:37 +01:00 committed by rallytime
parent c0e5a1171d
commit 3a8614c5df

View file

@ -119,7 +119,8 @@ class NetapiClient(object):
:return: Returns the result from the salt-ssh command
'''
ssh_client = salt.client.ssh.client.SSHClient(mopts=self.opts)
ssh_client = salt.client.ssh.client.SSHClient(mopts=self.opts,
disable_custom_roster=True)
return ssh_client.cmd_sync(kwargs)
def ssh_async(self, fun, timeout=None, **kwargs):