aeed45986b
- Update to 2018.3.0 - Modified: * explore-module.run-response-to-catch-the-result-in-d.patch * add-saltssh-multi-version-support-across-python-inte.patch * run-salt-api-as-user-salt-bsc-1064520.patch * fix-openscap-push.patch * fix-decrease-loglevel-when-unable-to-resolve-addr.patch * fix-cp.push-empty-file.patch * make-it-possible-to-use-login-pull-and-push-from-mod.patch * avoid-excessive-syslogging-by-watchdog-cronjob-58.patch * feat-add-grain-for-all-fqdns.patch * fix-bsc-1065792.patch * run-salt-master-as-dedicated-salt-user.patch * move-log_file-option-to-changeable-defaults.patch * activate-all-beacons-sources-config-pillar-grains.patch * remove-obsolete-unicode-handling-in-pkg.info_install.patch - Add python-2.6 support to salt-ssh - Modified: * add-saltssh-multi-version-support-across-python-inte.patch - Update salt-ssh multiversion patch - Modified: * add-saltssh-multi-version-support-across-python-inte.patch - Removed: * require-same-major-version-while-minor-is-allowed-to.patch OBS-URL: https://build.opensuse.org/request/show/594031 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:saltstack/salt?expand=0&rev=117
28 lines
719 B
Diff
28 lines
719 B
Diff
From 74ca7c3fd6a42f95f9d702ef2847a1f76399db5f Mon Sep 17 00:00:00 2001
|
|
From: Mihai Dinca <mdinca@suse.de>
|
|
Date: Wed, 7 Mar 2018 13:11:16 +0100
|
|
Subject: [PATCH] Fix cp.push empty file
|
|
|
|
Co-authored-by: Jochen Breuer <jbreuer@suse.de>
|
|
---
|
|
salt/master.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/salt/master.py b/salt/master.py
|
|
index fb704909c8..6fb37ece1a 100644
|
|
--- a/salt/master.py
|
|
+++ b/salt/master.py
|
|
@@ -1451,7 +1451,7 @@ class AESFuncs(object):
|
|
if load['loc']:
|
|
fp_.seek(load['loc'])
|
|
|
|
- fp_.write(load['data'])
|
|
+ fp_.write(salt.utils.stringutils.to_bytes(load['data']))
|
|
return True
|
|
|
|
def _pillar(self, load):
|
|
--
|
|
2.16.2
|
|
|
|
|