af73acbf5d
- Fix grains containing trailing "\n" - Added: * fix-grains-with-n.patch OBS-URL: https://build.opensuse.org/request/show/581636 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:saltstack/salt?expand=0&rev=113
26 lines
672 B
Diff
26 lines
672 B
Diff
From 341c175135c555ee1a02f1ce952c95d14fd834fa 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 c5bf3f2d54..a5ec426ec4 100644
|
|
--- 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:
|
|
--
|
|
2.16.1
|
|
|
|
|