diff --git a/salt/loader.py b/salt/loader.py index dca0dd9a9737..f44e0fa39397 100644 --- a/salt/loader.py +++ b/salt/loader.py @@ -1065,7 +1065,12 @@ def _load_module(self, name): self._apply_outputter(func, mod) # enforce depends - Depends.enforce_dependencies(self._dict, self.tag) + try: + Depends.enforce_dependencies(self._dict, self.tag) + except RuntimeError as e: + log.info('Depends.enforce_dependencies() failed ' + 'for reasons: '.format(e)) + self.loaded_modules[module_name] = mod_dict return True