2020-04-07 14:14:01 +02:00
|
|
|
From 4acbe70851e3ef7a04fc5ad0dc9a2519f6989c66 Mon Sep 17 00:00:00 2001
|
2018-01-26 14:46:21 +01:00
|
|
|
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
|
2020-04-07 14:14:01 +02:00
|
|
|
index de7718ea49..987e37cd42 100644
|
2018-01-26 14:46:21 +01:00
|
|
|
--- a/salt/states/service.py
|
|
|
|
+++ b/salt/states/service.py
|
|
|
|
@@ -80,6 +80,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:
|
|
|
|
--
|
2019-11-28 16:41:55 +01:00
|
|
|
2.16.4
|
2018-01-26 14:46:21 +01:00
|
|
|
|
|
|
|
|