SHA256
1
0
forked from pool/salt
salt/fix-bsc-1065792.patch
Pablo Suárez Hernández 6409c07939 Accepting request 581002 from systemsmanagement:saltstack:testing
- Remove salt-minion python2 requirement when python3 is default (bsc#1081592)

- Remove-obsolete-unicode-handling-in-pkg.info_installed
- Added:
  * remove-obsolete-unicode-handling-in-pkg.info_install.patch

- Update to salt-2018.1.99
- Modified:
  * activate-all-beacons-sources-config-pillar-grains.patch
  * avoid-excessive-syslogging-by-watchdog-cronjob-58.patch
  * feat-add-grain-for-all-fqdns.patch
  * fix-bsc-1065792.patch
  * list_pkgs-add-parameter-for-returned-attribute-selec.patch
  * run-salt-api-as-user-salt-bsc-1064520.patch
  * run-salt-master-as-dedicated-salt-user.patch
- Deleted:
  * python3-compatibility-fix-got-bytes-instead-of-strin.patch
  * enable-with-salt-version-parameter-for-setup.py-scri.patch
  * catching-error-when-pidfile-cannot-be-deleted.patch
  * bugfix-always-return-a-string-list-on-unknown-job-ta.patch
  * bugfix-the-logic-according-to-the-exact-described-pu.patch
  * cherrypy-read-reads-bytes-from-the-wire-and-write-th.patch
  * fix-for-delete_deployment-in-kubernetes-module.patch
  * fix-salt-master-for-old-psutil.patch
  * introduce-process_count_max-minion-configuration-par.patch
  * multiprocessing-minion-option-documentation-fixes.patch
  * older-logrotate-need-su-directive.patch
  * return-error-when-gid_from_name-and-group-does-not-e.patch
  * set-shell-environment-variable-64.patch
  * split-only-strings-if-they-are-such.patch

OBS-URL: https://build.opensuse.org/request/show/581002
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:saltstack/salt?expand=0&rev=112
2018-02-28 15:27:22 +00:00

26 lines
672 B
Diff

From b9a351b84ce765e8638513e7e9d4fd804589d15a 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