diff --git a/salt/modules/win_dns_client.py b/salt/modules/win_dns_client.py index 82b09770cd..7db7dd26cc 100644 --- a/salt/modules/win_dns_client.py +++ b/salt/modules/win_dns_client.py @@ -9,6 +9,10 @@ import logging # Import salt libs import salt.utils +try: + import wmi +except ImportError: + pass log = logging.getLogger(__name__)