Signed-off-by: Felipe Zipitria <fzipitria@perceptyx.com>pull/214/head
@@ -6,7 +6,7 @@ Support for Open vSwitch database configuration. | |||
from __future__ import absolute_import | |||
import logging | |||
import salt.utils | |||
import salt.utils.path | |||
log = logging.getLogger(__name__) | |||
@@ -15,7 +15,7 @@ def __virtual__(): | |||
''' | |||
Only load the module if Open vSwitch is installed | |||
''' | |||
if salt.utils.which('ovs-vsctl'): | |||
if salt.utils.path.which('ovs-vsctl'): | |||
return 'ovs_config' | |||
return False | |||