File fix-bsc-1065792.patch of Package salt.26143

From 22fe4809712dbc59ba2d8c3c2045f531f81bc517 Mon Sep 17 00:00:00 2001
From: Bo Maryniuk <bo@suse.de>
Date: Thu, 14 Dec 2017 16:21:40 +0100
Subject: [PATCH] Fix bsc#1065792

---
 salt/states/service.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/salt/states/service.py b/salt/states/service.py
index 536e64a430..27595f7703 100644
--- a/salt/states/service.py
+++ b/salt/states/service.py
@@ -78,6 +78,7 @@ def __virtual__():
     Only make these states available if a service provider has been detected or
     assigned for this minion
     """
+    __salt__._load_all()
     if "service.start" in __salt__:
         return __virtualname__
     else:
-- 
2.33.0


openSUSE Build Service is sponsored by