diff --git a/salt/states/pbm.py b/salt/states/pbm.py index bf54f620ad..775b716f44 100644 --- a/salt/states/pbm.py +++ b/salt/states/pbm.py @@ -111,9 +111,7 @@ LOGIN_DETAILS = {} def __virtual__(): - if HAS_JSONSCHEMA: - return True - return False + return True def mod_init(low): diff --git a/tests/unit/utils/vmware/test_connection.py b/tests/unit/utils/vmware/test_connection.py index dd357d4870..d8afbb0504 100644 --- a/tests/unit/utils/vmware/test_connection.py +++ b/tests/unit/utils/vmware/test_connection.py @@ -25,7 +25,7 @@ import salt.utils.vmware from salt.ext import six try: - from pyVmomi import vim, vmodl, VmomiSupport + from pyVmomi import vim, vmodl HAS_PYVMOMI = True except ImportError: HAS_PYVMOMI = False