From e628fd1d190dedb586512b9c0b42d7661ea821ebe630602eed573543dd039381 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= Date: Fri, 10 Nov 2017 07:17:55 +0000 Subject: [PATCH] Accepting request 540260 from systemsmanagement:saltstack:products:unstable.py3 - Update to 2017.7.2 See https://docs.saltstack.com/en/latest/topics/releases/2017.7.2.html - Added: * enable-with-salt-version-parameter-for-setup.py-scri.patch - Removed: * add-a-salt-minion-service-control-file.patch * add-clean_id-function-to-salt.utils.verify.py.patch * add-options-for-dockerng.patch * add-ssh-option-to-salt-ssh.patch * add-unit-test-for-skip-false-values-from-preferred_i.patch * add-yum-plugin.patch * add-zypp-notify-plugin.patch * adding-salt-minion-watchdog-for-sysv-systems-rhel6-a.patch * adding-support-for-installing-patches-in-yum-dnf-exe.patch * avoid-failures-on-sles-12-sp2-because-of-new-systemd.patch * bugfix-jobs-scheduled-to-run-at-a-future-time-stay-p.patch * bugfix-unable-to-use-127-as-hostname.patch * catching-error-when-pidfile-cannot-be-deleted.patch * change-travis-configuration-file-to-use-salt-toaster.patch * check-if-byte-strings-are-properly-encoded-in-utf-8.patch * clean-up-change-attribute-from-interface-dict.patch * do-not-generate-a-date-in-a-comment-to-prevent-rebui.patch * enables-salt-minion-watchdog-on-init.d-script-for-sy.patch * escape-the-os.sep.patch * fix-for-delete_deployment-in-kubernetes-module.patch * fix-format-error-bsc-1043111.patch * fix-grain-for-os_family-on-suse-series.patch * fix-os_family-case-in-unittest.patch * fix-regression-in-file.get_managed-add-unit-tests.patch * fix-salt-summary-to-count-not-responding-minions-cor.patch OBS-URL: https://build.opensuse.org/request/show/540260 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:saltstack/salt?expand=0&rev=98 --- .gitattributes | 2 + _service | 21 + ....SUSE => _service:extract_file:README.SUSE | 0 ...turn-a-string-list-on-unknown-job-ta.patch | 3 +- ...-version-parameter-for-setup.py-scri.patch | 3 +- _service:extract_file:html.tar.bz2 | 3 + ...s_count_max-minion-configuration-par.patch | 21 +- ...rameter-for-returned-attribute-selec.patch | 21 +- ...ng-minion-option-documentation-fixes.patch | 9 +- _service:extract_file:salt-2017.7.2.tar.gz | 3 + ...d => _service:extract_file:salt-tmpfiles.d | 0 ...nges => _service:extract_file:salt.changes | 1502 ++++++++++------- salt.spec => _service:extract_file:salt.spec | 169 +- ...is.yml => _service:extract_file:travis.yml | 0 _service:extract_file:update-documentation.sh | 64 + ...the-user-home-directory-instead-usin.patch | 7 +- _service:extract_file:zyppnotify | 59 + ...:tar_scm:package-1510227540.833ce8accd.tar | 3 + html.tar.bz2 | 3 - update-documentation.sh | 100 -- v2017.7.2.tar.gz | 3 - 21 files changed, 1158 insertions(+), 838 deletions(-) create mode 100644 _service rename README.SUSE => _service:extract_file:README.SUSE (100%) rename bugfix-always-return-a-string-list-on-unknown-job-ta.patch => _service:extract_file:bugfix-always-return-a-string-list-on-unknown-job-ta.patch (97%) rename enable-with-salt-version-parameter-for-setup.py-scri.patch => _service:extract_file:enable-with-salt-version-parameter-for-setup.py-scri.patch (97%) create mode 100644 _service:extract_file:html.tar.bz2 rename introduce-process_count_max-minion-configuration-par.patch => _service:extract_file:introduce-process_count_max-minion-configuration-par.patch (95%) rename list_pkgs-add-parameter-for-returned-attribute-selec.patch => _service:extract_file:list_pkgs-add-parameter-for-returned-attribute-selec.patch (98%) rename multiprocessing-minion-option-documentation-fixes.patch => _service:extract_file:multiprocessing-minion-option-documentation-fixes.patch (84%) create mode 100644 _service:extract_file:salt-2017.7.2.tar.gz rename salt-tmpfiles.d => _service:extract_file:salt-tmpfiles.d (100%) rename salt.changes => _service:extract_file:salt.changes (70%) rename salt.spec => _service:extract_file:salt.spec (87%) rename travis.yml => _service:extract_file:travis.yml (100%) create mode 100644 _service:extract_file:update-documentation.sh rename use-home-to-get-the-user-home-directory-instead-usin.patch => _service:extract_file:use-home-to-get-the-user-home-directory-instead-usin.patch (83%) create mode 100644 _service:extract_file:zyppnotify create mode 100644 _service:tar_scm:package-1510227540.833ce8accd.tar delete mode 100644 html.tar.bz2 delete mode 100644 update-documentation.sh delete mode 100644 v2017.7.2.tar.gz diff --git a/.gitattributes b/.gitattributes index 9b03811..ac6f5e8 100644 --- a/.gitattributes +++ b/.gitattributes @@ -21,3 +21,5 @@ *.xz filter=lfs diff=lfs merge=lfs -text *.zip filter=lfs diff=lfs merge=lfs -text *.zst filter=lfs diff=lfs merge=lfs -text +## Specific LFS patterns +_service:tar_scm:package-1510227540.833ce8accd.tar filter=lfs diff=lfs merge=lfs -text diff --git a/_service b/_service new file mode 100644 index 0000000..3009a76 --- /dev/null +++ b/_service @@ -0,0 +1,21 @@ + + + git + https://github.com/opensuse/salt.git + .git + package + openSUSE-2017.7.2-python3-only + + + *package*.tar + + */obs/* + */scripts/suse/zypper/plugins/commit/zyppnotify + + + + _service:extract_file:salt-2017.7.2.tar.gz + sha256 + ff3bc7de5abf01b8acbd144db5811b00867179b2353f5c6f7f19241e2eff2840 + + diff --git a/README.SUSE b/_service:extract_file:README.SUSE similarity index 100% rename from README.SUSE rename to _service:extract_file:README.SUSE diff --git a/bugfix-always-return-a-string-list-on-unknown-job-ta.patch b/_service:extract_file:bugfix-always-return-a-string-list-on-unknown-job-ta.patch similarity index 97% rename from bugfix-always-return-a-string-list-on-unknown-job-ta.patch rename to _service:extract_file:bugfix-always-return-a-string-list-on-unknown-job-ta.patch index 7a54502..ca1a3e3 100644 --- a/bugfix-always-return-a-string-list-on-unknown-job-ta.patch +++ b/_service:extract_file:bugfix-always-return-a-string-list-on-unknown-job-ta.patch @@ -1,7 +1,7 @@ From 49a4e807fb1cb844cec7b7c11b37f6c276f899e4 Mon Sep 17 00:00:00 2001 From: Bo Maryniuk Date: Mon, 9 Oct 2017 17:57:48 +0200 -Subject: [PATCH] Bugfix: always return a string "list" on unknown job +Subject: [PATCH 5/6] Bugfix: always return a string "list" on unknown job target type. --- @@ -66,4 +66,3 @@ index 3f4ef296a2..4dbf0d2c6f 100644 -- 2.14.2 - diff --git a/enable-with-salt-version-parameter-for-setup.py-scri.patch b/_service:extract_file:enable-with-salt-version-parameter-for-setup.py-scri.patch similarity index 97% rename from enable-with-salt-version-parameter-for-setup.py-scri.patch rename to _service:extract_file:enable-with-salt-version-parameter-for-setup.py-scri.patch index f4275cb..6836189 100644 --- a/enable-with-salt-version-parameter-for-setup.py-scri.patch +++ b/_service:extract_file:enable-with-salt-version-parameter-for-setup.py-scri.patch @@ -2,7 +2,7 @@ From 1949261a504fd01e057b41126d78f142f4977204 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Su=C3=A1rez=20Hern=C3=A1ndez?= Date: Fri, 6 Oct 2017 17:12:15 +0100 -Subject: [PATCH] Enable '--with-salt-version' parameter for setup.py +Subject: [PATCH 6/6] Enable '--with-salt-version' parameter for setup.py script --- @@ -73,4 +73,3 @@ index effdc2f230..519f753401 100755 -- 2.14.2 - diff --git a/_service:extract_file:html.tar.bz2 b/_service:extract_file:html.tar.bz2 new file mode 100644 index 0000000..f5421d4 --- /dev/null +++ b/_service:extract_file:html.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4033a19f562875d4124d5f18fffb485cbbb1a256996b4a8019ac4f32064657be +size 6413238 diff --git a/introduce-process_count_max-minion-configuration-par.patch b/_service:extract_file:introduce-process_count_max-minion-configuration-par.patch similarity index 95% rename from introduce-process_count_max-minion-configuration-par.patch rename to _service:extract_file:introduce-process_count_max-minion-configuration-par.patch index 5cf33c5..8c500c9 100644 --- a/introduce-process_count_max-minion-configuration-par.patch +++ b/_service:extract_file:introduce-process_count_max-minion-configuration-par.patch @@ -1,7 +1,7 @@ -From dd3490c7e56a0aca17f73dde1684d469fe5582df Mon Sep 17 00:00:00 2001 +From cb472e1f0fc18a554e0de9e3fe6bbe16557957ee Mon Sep 17 00:00:00 2001 From: Silvio Moioli Date: Wed, 20 Sep 2017 14:33:33 +0200 -Subject: [PATCH] Introduce process_count_max minion configuration +Subject: [PATCH 4/6] Introduce process_count_max minion configuration parameter This allows users to limit the number of processes or threads a minion @@ -25,10 +25,10 @@ process_count_max: disable by default 5 files changed, 87 insertions(+), 3 deletions(-) diff --git a/conf/minion b/conf/minion -index b1122c9e52..6d2b43da1b 100644 +index 6cae043295..4a3cddcbd1 100644 --- a/conf/minion +++ b/conf/minion -@@ -671,6 +671,12 @@ +@@ -689,6 +689,12 @@ # for a full explanation. #multiprocessing: True @@ -42,10 +42,10 @@ index b1122c9e52..6d2b43da1b 100644 ##### Logging settings ##### ########################################## diff --git a/doc/ref/configuration/minion.rst b/doc/ref/configuration/minion.rst -index 5cc72f1daf..b935f86656 100644 +index 5c92b932ab..19e9026dd8 100644 --- a/doc/ref/configuration/minion.rst +++ b/doc/ref/configuration/minion.rst -@@ -2179,6 +2179,23 @@ executed in a thread. +@@ -2352,6 +2352,23 @@ executed in a thread. multiprocessing: True @@ -70,7 +70,7 @@ index 5cc72f1daf..b935f86656 100644 .. _minion-logging-settings: diff --git a/salt/config/__init__.py b/salt/config/__init__.py -index b5b7f2a1f7..e843d8c79d 100644 +index 0f06f9ccca..668051a789 100644 --- a/salt/config/__init__.py +++ b/salt/config/__init__.py @@ -328,6 +328,9 @@ VALID_OPTS = { @@ -92,10 +92,10 @@ index b5b7f2a1f7..e843d8c79d 100644 'mine_return_job': False, 'mine_interval': 60, diff --git a/salt/minion.py b/salt/minion.py -index 3c5046ee93..9e7301aafa 100644 +index 394b11a2e8..33cbb8fa0a 100644 --- a/salt/minion.py +++ b/salt/minion.py -@@ -1288,6 +1288,7 @@ class Minion(MinionBase): +@@ -1290,6 +1290,7 @@ class Minion(MinionBase): self._send_req_async(load, timeout, callback=lambda f: None) # pylint: disable=unexpected-keyword-arg return True @@ -103,7 +103,7 @@ index 3c5046ee93..9e7301aafa 100644 def _handle_decoded_payload(self, data): ''' Override this method if you wish to handle the decoded data -@@ -1319,6 +1320,15 @@ class Minion(MinionBase): +@@ -1321,6 +1322,15 @@ class Minion(MinionBase): self.functions, self.returners, self.function_errors, self.executors = self._load_modules() self.schedule.functions = self.functions self.schedule.returners = self.returners @@ -208,4 +208,3 @@ index 535dfeedfc..6c9dca13cd 100644 -- 2.14.2 - diff --git a/list_pkgs-add-parameter-for-returned-attribute-selec.patch b/_service:extract_file:list_pkgs-add-parameter-for-returned-attribute-selec.patch similarity index 98% rename from list_pkgs-add-parameter-for-returned-attribute-selec.patch rename to _service:extract_file:list_pkgs-add-parameter-for-returned-attribute-selec.patch index ac0307a..bd43879 100644 --- a/list_pkgs-add-parameter-for-returned-attribute-selec.patch +++ b/_service:extract_file:list_pkgs-add-parameter-for-returned-attribute-selec.patch @@ -1,7 +1,7 @@ -From 2996d5ab680b2b3c243a2216e13326750bc37ac8 Mon Sep 17 00:00:00 2001 +From ca7031e5223bb3bd35c31211d29177f05ed5e304 Mon Sep 17 00:00:00 2001 From: Silvio Moioli Date: Thu, 13 Jul 2017 15:59:01 +0200 -Subject: [PATCH] list_pkgs: add parameter for returned attribute selection +Subject: [PATCH 1/6] list_pkgs: add parameter for returned attribute selection (bsc#1052264) zypper.list_pkgs: @@ -77,7 +77,7 @@ index 928dccae7d..a9f396b212 100644 + full_version += '-{0}'.format(release) + return full_version diff --git a/salt/modules/yumpkg.py b/salt/modules/yumpkg.py -index e659d1b79c..8ffc63a74e 100644 +index 0af6a811f4..8b63bff4a3 100644 --- a/salt/modules/yumpkg.py +++ b/salt/modules/yumpkg.py @@ -17,7 +17,6 @@ Support for YUM/DNF @@ -88,7 +88,7 @@ index e659d1b79c..8ffc63a74e 100644 import datetime import fnmatch import itertools -@@ -584,15 +583,35 @@ def version_cmp(pkg1, pkg2, ignore_epoch=False): +@@ -595,15 +594,35 @@ def version_cmp(pkg1, pkg2, ignore_epoch=False): def list_pkgs(versions_as_list=False, **kwargs): ''' @@ -126,7 +126,7 @@ index e659d1b79c..8ffc63a74e 100644 ''' versions_as_list = salt.utils.is_true(versions_as_list) # not yet implemented or not applicable -@@ -600,17 +619,14 @@ def list_pkgs(versions_as_list=False, **kwargs): +@@ -611,17 +630,14 @@ def list_pkgs(versions_as_list=False, **kwargs): for x in ('removed', 'purge_desired')]): return {} @@ -148,7 +148,7 @@ index e659d1b79c..8ffc63a74e 100644 output = __salt__['cmd.run'](cmd, python_shell=False, output_loglevel='trace') -@@ -620,15 +636,25 @@ def list_pkgs(versions_as_list=False, **kwargs): +@@ -631,15 +647,25 @@ def list_pkgs(versions_as_list=False, **kwargs): osarch=__grains__['osarch'] ) if pkginfo is not None: @@ -183,7 +183,7 @@ index e659d1b79c..8ffc63a74e 100644 def list_repo_pkgs(*args, **kwargs): -@@ -1205,11 +1231,42 @@ def install(name=None, +@@ -1221,11 +1247,42 @@ def install(name=None, .. versionadded:: 2014.7.0 @@ -226,7 +226,7 @@ index e659d1b79c..8ffc63a74e 100644 ''' repo_arg = _get_repo_options(**kwargs) exclude_arg = _get_excludes_option(**kwargs) -@@ -1238,10 +1295,11 @@ def install(name=None, +@@ -1254,10 +1311,11 @@ def install(name=None, log.warning('"version" parameter will be ignored for multiple ' 'package targets') @@ -240,7 +240,7 @@ index e659d1b79c..8ffc63a74e 100644 to_install = [] to_downgrade = [] -@@ -1544,7 +1602,7 @@ def install(name=None, +@@ -1560,7 +1618,7 @@ def install(name=None, errors.append(out['stdout']) __context__.pop('pkg.list_pkgs', None) @@ -787,6 +787,5 @@ index f3403e6e1c..41f3845646 100644 def test_list_patches(self): ''' -- -2.12.2 - +2.14.2 diff --git a/multiprocessing-minion-option-documentation-fixes.patch b/_service:extract_file:multiprocessing-minion-option-documentation-fixes.patch similarity index 84% rename from multiprocessing-minion-option-documentation-fixes.patch rename to _service:extract_file:multiprocessing-minion-option-documentation-fixes.patch index 19105d1..0ef47a2 100644 --- a/multiprocessing-minion-option-documentation-fixes.patch +++ b/_service:extract_file:multiprocessing-minion-option-documentation-fixes.patch @@ -1,7 +1,7 @@ -From 6c5b8be3d14814903abc70b5605c87277dad39db Mon Sep 17 00:00:00 2001 +From 461654496d36a264903057a8255aec4eb700e506 Mon Sep 17 00:00:00 2001 From: Silvio Moioli Date: Wed, 20 Sep 2017 14:32:47 +0200 -Subject: [PATCH] multiprocessing minion option: documentation fixes +Subject: [PATCH 3/6] multiprocessing minion option: documentation fixes --- doc/man/salt.7 | 1 + @@ -21,10 +21,10 @@ index d6cfe937a1..86c463b771 100644 Default: \fBTrue\fP .sp diff --git a/doc/ref/configuration/minion.rst b/doc/ref/configuration/minion.rst -index cd554268c1..5cc72f1daf 100644 +index e0f349931c..5c92b932ab 100644 --- a/doc/ref/configuration/minion.rst +++ b/doc/ref/configuration/minion.rst -@@ -2164,11 +2164,14 @@ Thread Settings +@@ -2337,11 +2337,14 @@ Thread Settings .. conf_minion:: multiprocessing @@ -44,4 +44,3 @@ index cd554268c1..5cc72f1daf 100644 -- 2.14.2 - diff --git a/_service:extract_file:salt-2017.7.2.tar.gz b/_service:extract_file:salt-2017.7.2.tar.gz new file mode 100644 index 0000000..11d023e --- /dev/null +++ b/_service:extract_file:salt-2017.7.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ff3bc7de5abf01b8acbd144db5811b00867179b2353f5c6f7f19241e2eff2840 +size 11471191 diff --git a/salt-tmpfiles.d b/_service:extract_file:salt-tmpfiles.d similarity index 100% rename from salt-tmpfiles.d rename to _service:extract_file:salt-tmpfiles.d diff --git a/salt.changes b/_service:extract_file:salt.changes similarity index 70% rename from salt.changes rename to _service:extract_file:salt.changes index 1d26cd7..952c174 100644 --- a/salt.changes +++ b/_service:extract_file:salt.changes @@ -1,128 +1,215 @@ -------------------------------------------------------------------- -Wed Oct 11 14:15:17 UTC 2017 - bmaryniuk@suse.com - -- Add possibility to generate _version.py at the build time for - raw builds: https://github.com/saltstack/salt/pull/43955 - -- Added: - * enable-with-salt-version-parameter-for-setup.py-scri.patch - -------------------------------------------------------------------- -Tue Oct 10 15:31:36 UTC 2017 - bmaryniuk@suse.com +Fri Nov 9 10:22:08 UTC 2017 - mdinca@suse.de - Update to 2017.7.2 - See https://docs.saltstack.com/en/develop/topics/releases/2017.7.2.html - for full changelog -- Fix for CVE-2017-14695 (bsc#1062462) -- Fix for CVE-2017-14696 (bsc#1062464) -- Fix salt target-type field returns "String" for existing - jids but an empty "Array" for non existing jids. (issue #1711) + See https://docs.saltstack.com/en/latest/topics/releases/2017.7.2.html - Added: - * bugfix-always-return-a-string-list-on-unknown-job-ta.patch + * enable-with-salt-version-parameter-for-setup.py-scri.patch +- Removed: + * add-a-salt-minion-service-control-file.patch + * add-clean_id-function-to-salt.utils.verify.py.patch + * add-options-for-dockerng.patch + * add-ssh-option-to-salt-ssh.patch + * add-unit-test-for-skip-false-values-from-preferred_i.patch + * add-yum-plugin.patch + * add-zypp-notify-plugin.patch + * adding-salt-minion-watchdog-for-sysv-systems-rhel6-a.patch + * adding-support-for-installing-patches-in-yum-dnf-exe.patch + * avoid-failures-on-sles-12-sp2-because-of-new-systemd.patch + * bugfix-jobs-scheduled-to-run-at-a-future-time-stay-p.patch + * bugfix-unable-to-use-127-as-hostname.patch + * catching-error-when-pidfile-cannot-be-deleted.patch + * change-travis-configuration-file-to-use-salt-toaster.patch + * check-if-byte-strings-are-properly-encoded-in-utf-8.patch + * clean-up-change-attribute-from-interface-dict.patch + * do-not-generate-a-date-in-a-comment-to-prevent-rebui.patch + * enables-salt-minion-watchdog-on-init.d-script-for-sy.patch + * escape-the-os.sep.patch + * fix-for-delete_deployment-in-kubernetes-module.patch + * fix-format-error-bsc-1043111.patch + * fix-grain-for-os_family-on-suse-series.patch + * fix-os_family-case-in-unittest.patch + * fix-regression-in-file.get_managed-add-unit-tests.patch + * fix-salt-summary-to-count-not-responding-minions-cor.patch + * fix-setting-language-on-suse-systems.patch + * fixed-issue-with-parsing-of-master-minion-returns-wh.patch + * fixing-beacons.list-integration-test-failure.patch + * introducing-the-kubernetes-module.patch + * notify-systemd-synchronously-bsc-1053376.patch + * rest_cherrypy-remove-sleep-call.patch + * revert-we-don-t-have-python-systemd-so-notify-can-t-.patch + * run-salt-api-as-user-salt-bsc-990029.patch + * run-salt-master-as-dedicated-salt-user.patch + * search-the-entire-cache_dir-because-storage-paths-ch.patch + * security-fixes-cve-2017-14695-and-cve-2017-14696.patch + * setting-up-os-grains-for-sles-expanded-support-suse-.patch + * special-salt-minion.service-file-for-rhel7.patch + * translate-variable-arguments-if-they-contain-hidden-.patch + * tserong-suse.com-we-don-t-have-python-systemd-so-not.patch + * use-correct-grain-constants-for-timezone.patch ------------------------------------------------------------------- -Fri Oct 6 13:53:59 UTC 2017 - bmaryniuk@suse.com +Wed Oct 11 12:47:37 UTC 2017 - jbreuer@suse.de + +- Re-added previously removed unit-test for bsc#1050003 + +- Changed: + * catching-error-when-pidfile-cannot-be-deleted.patch + +------------------------------------------------------------------- +Wed Oct 11 10:02:25 UTC 2017 - bmaryniuk@suse.com + +- Fixes for CVE-2017-14695 and CVE-2017-14696 (bsc#1062462) +- Added: + * security-fixes-cve-2017-14695-and-cve-2017-14696.patch + +------------------------------------------------------------------- +Tue Oct 10 14:41:13 UTC 2017 - bmaryniuk@suse.com + +- Add missing follow-up for CVE-2017-12791 (bsc#1053955) +- Fixed salt target-type field returns "String" for existing jids + but an empty "Array" for non existing jids. (issue#1711) +- Added: + * bugfix-always-return-a-string-list-on-unknown-job-ta.patch + * escape-the-os.sep.patch + +------------------------------------------------------------------- +Mon Oct 9 14:08:46 UTC 2017 - bmaryniuk@suse.com - Fixed minion resource exhaustion when many functions are being executed in parallel (bsc#1059758) +- Changed: + * catching-error-when-pidfile-cannot-be-deleted.patch + - Added: * introduce-process_count_max-minion-configuration-par.patch * multiprocessing-minion-option-documentation-fixes.patch + * revert-we-don-t-have-python-systemd-so-notify-can-t-.patch + +- Removed: + * revert-we-don-t-have-python-systemd-so-notify-can-t-work.patch ------------------------------------------------------------------- -Thu Oct 5 15:37:06 UTC 2017 - pablo.suarezhernandez@suse.com +Thu Oct 5 15:27:55 UTC 2017 - pablo.suarezhernandez@suse.com - Remove 'TasksTask' attribute from salt-master.service in older versions of systemd (bsc#985112) -- Provide custom SUSE salt-master.service file. ------------------------------------------------------------------- -Tue Oct 3 11:54:02 UTC 2017 - pablo.suarezhernandez@suse.com +Wed Sep 27 15:45:41 UTC 2017 - jbreuer@suse.de -- Fix wrong version reported by Salt (bsc#1061407) +- Fix for delete_deployment in Kubernetes module (bsc#1059291) + +- Added: + * fix-for-delete_deployment-in-kubernetes-module.patch ------------------------------------------------------------------- -Tue Sep 12 07:26:03 UTC 2017 - pablo.suarezhernandez@suse.com +Mon Sep 18 08:51:35 UTC 2017 - jbreuer@suse.de + +- Catching error when PIDfile cannot be deleted (bsc#1050003) + +- Added: + * catching-error-when-pidfile-cannot-be-deleted.patch + +------------------------------------------------------------------- +Tue Sep 12 08:46:47 UTC 2017 - pablo.suarezhernandez@suse.com -- list_pkgs: add parameter for returned attribute selection (bsc#1052264) -- Adding the leftover for zypper and yum list_pkgs functionality. - Use $HOME to get the user home directory instead using '~' char (bsc#1042749) - Added: - * list_pkgs-add-parameter-for-returned-attribute-selec.patch - * use-home-to-get-the-user-home-directory-instead-usin.patch + * use-home-to-get-the-user-home-directory-instead-usin.patch ------------------------------------------------------------------- -Wed Aug 16 09:26:01 UTC 2017 - bmaryniuk@suse.com +Fri Sep 8 11:57:22 UTC 2017 - jbreuer@suse.de -- Update to 2017.7.1 - See https://docs.saltstack.com/en/develop/topics/releases/2017.7.1.html - for full changelog -- Fix for CVE-2017-12791 (bsc#1053955) +- Fixed patches for Kubernetes and YUM modules + +- Updated: + * list_pkgs-add-parameter-for-returned-attribute-selec.patch + * introducing-the-kubernetes-module.patch + +------------------------------------------------------------------- +Tue Sep 5 13:31:02 UTC 2017 - jbreuer@suse.de + +- Add patches to salt to support SUSE Manager scalability features + (bsc#1052264) + +- Added: + * list_pkgs-add-parameter-for-returned-attribute-selec.patch + +------------------------------------------------------------------- +Thu Aug 31 14:31:31 UTC 2017 - jbreuer@suse.de + +- Introducing the kubernetes module (bsc#1051948) + +- Added: + * introducing-the-kubernetes-module.patch + +------------------------------------------------------------------- +Wed Aug 30 15:46:20 UTC 2017 - jrenner@suse.com + +- Revert "We don't have python-systemd, so notify can't work" + +- Added: + * revert-we-don-t-have-python-systemd-so-notify-can-t-work.patch + +------------------------------------------------------------------- +Wed Aug 23 12:48:37 UTC 2017 - brejoc@gmail.com + +- Notify systemd synchronously via NOTIFY_SOCKET (bsc#1053376) + +- Added: + * notify-systemd-synchronously-bsc-1053376.patch + +------------------------------------------------------------------- +Wed Aug 16 09:54:15 UTC 2017 - pablo.suarezhernandez@suse.com + +- Add clean_id function to salt.utils.verify.py + (CVE-2017-12791, bsc#1053955) -------------------------------------------------------------------- -Sat Aug 12 21:26:49 UTC 2017 - jengelh@inai.de - -- Run fdupes over all of /usr because it still warns about - duplicate files. Remove ancient suse_version > 1020 conditional. -- Replace unnecessary %__ indirections. Use grep -q in favor of - >/dev/null. -- Avoid bashisms in %pre. +- Added: + * add-clean_id-function-to-salt.utils.verify.py.patch ------------------------------------------------------------------- -Fri Jul 21 12:53:26 UTC 2017 - bmaryniuk@suse.com +Mon Jul 17 13:51:35 UTC 2017 - bmaryniuk@suse.com -- Update to 2017.7.0 - See https://docs.saltstack.com/en/develop/topics/releases/2017.7.0.html - for full changelog -- fix ownership for whole master cache directory (bsc#1035914) -- fix setting the language on SUSE systems (bsc#1038855) -- wrong os_family grains on SUSE - fix unittests (bsc#1038855) -- speed-up cherrypy by removing sleep call -- Disable 3rd party runtime packages to be explicitly recommended. - (bsc#1040886) -- fix format error (bsc#1043111) -- Add a salt-minion watchdog for RHEL6 and SLES11 systems (sysV) - to restart salt-minion in case of crashes during upgrade. -- Add procps as dependency. -- Bugfix: jobs scheduled to run at a future time stay +- Added bugfix when jobs scheduled to run at a future time stay pending for Salt minions (bsc#1036125) -- All current patches has been removed as they were added upstream: - * add-a-salt-minion-service-control-file.patch - * add-options-for-dockerng.patch - * add-ssh-option-to-salt-ssh.patch - * add-unit-test-for-skip-false-values-from-preferred_i.patch - * add-yum-plugin.patch - * add-zypp-notify-plugin.patch - * adding-support-for-installing-patches-in-yum-dnf-exe.patch - * avoid-failures-on-sles-12-sp2-because-of-new-systemd.patch - * bugfix-unable-to-use-127-as-hostname.patch - * change-travis-configuration-file-to-use-salt-toaster.patch - * check-if-byte-strings-are-properly-encoded-in-utf-8.patch - * clean-up-change-attribute-from-interface-dict.patch - * do-not-generate-a-date-in-a-comment-to-prevent-rebui.patch - * fix-grain-for-os_family-on-suse-series.patch - * fix-os_family-case-in-unittest.patch - * fix-regression-in-file.get_managed-add-unit-tests.patch - * fix-salt-summary-to-count-not-responding-minions-cor.patch - * fix-setting-language-on-suse-systems.patch - * fixed-issue-with-parsing-of-master-minion-returns-wh.patch - * fixing-beacons.list-integration-test-failure.patch - * rest_cherrypy-remove-sleep-call.patch - * run-salt-api-as-user-salt-bsc-990029.patch - * run-salt-master-as-dedicated-salt-user.patch - * search-the-entire-cache_dir-because-storage-paths-ch.patch - * setting-up-os-grains-for-sles-expanded-support-suse-.patch - * special-salt-minion.service-file-for-rhel7.patch - * translate-variable-arguments-if-they-contain-hidden-.patch - * tserong-suse.com-we-don-t-have-python-systemd-so-not.patch - * use-correct-grain-constants-for-timezone.patch + +- Added: + * bugfix-jobs-scheduled-to-run-at-a-future-time-stay-p.patch ------------------------------------------------------------------- -Tue Jun 6 15:47:12 UTC 2017 - bmaryniuk@suse.com +Tue Jun 20 08:50:18 UTC 2017 - pablo.suarezhernandez@suse.com + +- Adding procps as dependency. This provides "ps" and "pgrep" utils + which are called from different Salt modules and also from new + salt-minion watchdog. + +------------------------------------------------------------------- +Thu Jun 8 15:27:06 UTC 2017 - pablo.suarezhernandez@suse.com + +- Adding a salt-minion watchdog for RHEL6 and SLES11 systems (sysV) + to restart salt-minion in case of crashes during upgrade. + +- Added: + * adding-salt-minion-watchdog-for-sysv-systems-rhel6-a.patch + * enables-salt-minion-watchdog-on-init.d-script-for-sy.patch + +------------------------------------------------------------------- +Wed Jun 7 11:38:39 UTC 2017 - mc@suse.com + +- fix format error (bsc#1043111) + +------------------------------------------------------------------- +Wed Jun 7 08:24:15 UTC 2017 - mc@suse.com + +- fix ownership for whole master cache directory (bsc#1035914) + +------------------------------------------------------------------- +Tue Jun 6 15:32:01 UTC 2017 - bmaryniuk@suse.com - Bugfix: clean up `change` attribute from interface dict (upstream) Issue: https://github.com/saltstack/salt/issues/41461 @@ -133,59 +220,209 @@ Added: * clean-up-change-attribute-from-interface-dict.patch ------------------------------------------------------------------- -Mon May 22 14:23:49 UTC 2017 - bmaryniuk@suse.com +Mon May 29 12:34:52 UTC 2017 - bmaryniuk@suse.com + +- Disable 3rd party runtime packages to be explicitly recommended. + (bsc#1040886) + +------------------------------------------------------------------- +Mon May 22 13:27:06 UTC 2017 - bmaryniuk@suse.com - Bugfix: orchestrate and batches returns false failed information https://github.com/saltstack/salt/issues/40635 + +Added: + * fixed-issue-with-parsing-of-master-minion-returns-wh.patch + +------------------------------------------------------------------- +Sun May 21 09:06:45 UTC 2017 - mc@suse.com + - speed-up cherrypy by removing sleep call + +------------------------------------------------------------------- +Fri May 19 12:09:26 UTC 2017 - mc@suse.com + - wrong os_family grains on SUSE - fix unittests (bsc#1038855) + +------------------------------------------------------------------- +Thu May 18 17:51:48 UTC 2017 - mc@suse.com + - fix setting the language on SUSE systems (bsc#1038855) + +------------------------------------------------------------------- +Wed May 17 13:29:34 UTC 2017 - bmaryniuk@suse.com + +- Documentation refresh to 2016.11.4 + +------------------------------------------------------------------- +Wed May 17 12:05:08 UTC 2017 - bmaryniuk@suse.com + +- Update to 2016.11.4 + See https://docs.saltstack.com/en/develop/topics/releases/2016.11.4.html + See https://docs.saltstack.com/en/develop/topics/releases/2016.11.3.html + See https://docs.saltstack.com/en/develop/topics/releases/2016.11.2.html + See https://docs.saltstack.com/en/develop/topics/releases/2016.11.1.html + for full changelog + +- Use SUSE specific salt-api.service (bsc#1039370) +- Bugfix: wrong os_family grains on SUSE (bsc#1038855) - Bugfix: unable to use hostname for minion ID as '127' (upstream) -- Bugfix: remove sleep call in CheppryPy API handler (upstream) - Fix core grains constants for timezone (bsc#1032931) +- Add unit test for a skip false values from preferred IPs + upstream patch +- Adding "yum-plugin-security" as required for RHEL 6 +- Minor fixes on new pkg.list_downloaded +- Listing all type of advisory patches for Yum module +- Prevents zero length error on Python 2.6 +- Fixes zypper test error after backporting +- raet protocol is no longer supported (bsc#1020831) +- Fix: move SSH data to the new home (bsc#1027722) +- Fix: /var/log/salt/minion fails logrotate (bsc#1030009) +- Fix: Result of master_tops extension is mutually overwritten + (bsc#1030073) +- Allows to set 'timeout' and 'gather_job_timeout' via kwargs +- Allows to set custom timeouts for 'manage.up' and 'manage.status' +- Use salt's ordereddict for comparison (fixes failing tests) +- add special salt-minion.service file for RES7 +- fix scripts for salt-proxy +- define with systemd for fedora and rhel >= 7 (bsc#1027240) +- add openscap module +- file.get_managed regression fix (upstream issues #39762) +- fix translate variable arguments if they contain hidden keywords + (bsc#1025896) +- fix service handling for openSUSE +- added unit test for dockerng.sls_build dryrun +- added dryrun to dockerng.sls_build +- update dockerng minimal version requirements +- fix format error in error parsing +- keep fix for migrating salt home directory (bsc#1022562) +- Fix salt pkg.latest raises exception if package is + not available (bsc#1012999) +- Fix timezone: should be always in UTC (bsc#1017078) +- Fix timezone handling for rpm installtime (bsc#1017078) +- Increasing timeouts for running integrations tests +- Add buildargs option to dockerng.build module +- Disable custom rosters for Salt SSH via Salt API (bsc#1011800) + More: https://github.com/saltstack/salt/pull/38596 +- Fix error when missing ssh-option parameter +- readd yum notify plugin +- all kwargs to dockerng.create to provide all features to sls_build + as well +- rename patches to get rid of the prefix numbers - Added: * bugfix-unable-to-use-127-as-hostname.patch * fix-grain-for-os_family-on-suse-series.patch - * fix-os_family-case-in-unittest.patch - * fix-setting-language-on-suse-systems.patch - * fixed-issue-with-parsing-of-master-minion-returns-wh.patch - * rest_cherrypy-remove-sleep-call.patch * use-correct-grain-constants-for-timezone.patch - -------------------------------------------------------------------- -Thu May 4 14:05:54 UTC 2017 - bmaryniuk@suse.com - -- Update to 2016.11.4 - See https://docs.saltstack.com/en/develop/topics/releases/2016.11.4.html - for full changelog - -- Changed: - * add-options-for-dockerng.patch - * fix-regression-in-file.get_managed-add-unit-tests.patch - -- Added: + * search-the-entire-cache_dir-because-storage-paths-ch.patch * add-unit-test-for-skip-false-values-from-preferred_i.patch + * add-a-salt-minion-service-control-file.patch + * add-options-for-dockerng.patch + * add-zypp-notify-plugin.patch * fixing-beacons.list-integration-test-failure.patch + * fix-regression-in-file.get_managed-add-unit-tests.patch + * fix-salt-summary-to-count-not-responding-minions-cor.patch + * special-salt-minion.service-file-for-rhel7.patch + * translate-variable-arguments-if-they-contain-hidden-.patch + +- Renamed: + * 0001-tserong-suse.com-We-don-t-have-python-systemd-so-not.patch + => tserong-suse.com-we-don-t-have-python-systemd-so-not.patch + * 0002-Run-salt-master-as-dedicated-salt-user.patch + => run-salt-master-as-dedicated-salt-user.patch + * 0003-Check-if-byte-strings-are-properly-encoded-in-UTF-8.patch + => check-if-byte-strings-are-properly-encoded-in-utf-8.patch + * 0004-do-not-generate-a-date-in-a-comment-to-prevent-rebui.patch + => do-not-generate-a-date-in-a-comment-to-prevent-rebui.patch + * 0009-Add-YUM-plugin.patch 0027-Add-YUM-plugin.patch + => add-yum-plugin.patch + * 0012-Run-salt-api-as-user-salt-bsc-990029.patch + => run-salt-api-as-user-salt-bsc-990029.patch + * 0020-Setting-up-OS-grains-for-SLES-Expanded-Support-SUSE-.patch + => setting-up-os-grains-for-sles-expanded-support-suse-.patch + * 0022-Change-travis-configuration-file-to-use-salt-toaster.patch + => change-travis-configuration-file-to-use-salt-toaster.patch + * 0036-Avoid-failures-on-SLES-12-SP2-because-of-new-systemd.patch + => avoid-failures-on-sles-12-sp2-because-of-new-systemd.patch + * 0042-Salt-ssh-ssh-option-param.patch + => add-ssh-option-to-salt-ssh.patch + * 0057-Adding-support-for-installing-patches-in-yum-dnf-exe.patch + => adding-support-for-installing-patches-in-yum-dnf-exe.patch - Removed: - * adding-downloadonly-support-to-yum-dnf-module.patch - * adds-custom-timeout-and-gather_job_timeout-to-local_.patch - * allows-to-set-timeout-and-gather_job_timeout-via-kwa.patch - * fix-case-in-os_family-for-suse.patch - * fix-race-condition-on-cache-directory-creation.patch - * makes-sure-gather_job_timeout-is-an-integer.patch - * merge-output-from-master_tops.patch - * openscap-module.patch - * use-salt-s-ordereddict-for-comparison.patch + * 0005-Use-SHA256-hash-type-by-default.patch + * 0006-Create-salt-proxy-instantiated-service-file.patch + * 0007-Add-SUSE-Manager-plugin.patch + * 0008-Fix-pkgrepo.managed-gpgkey-argument-bsc-979448.patch + * 0009-Rewrite-minion-ID-generator-bsc-967803.patch + * 0010-snapper-execution-module.patch + * 0011-Fix-module-import-being-Py3-and-P2.6-compatible.patch + * 0013-Bugfix-prevent-crash-if-python-dbus-module-is-instal.patch + * 0014-Fix-some-unittests.patch + * 0015-Check-for-single-quote-before-splitting-on-single-qu.patch + * 0016-Unit-test-fixes-for-2015.8.7.patch + * 0017-Fix-snapper_test-for-python26.patch + * 0018-Integration-tests-fixes-for-2015.8.7.patch + * 0019-Generate-Salt-Thin-with-configured-extra-modules.patch + * 0021-acl.delfacl-fix-position-of-X-option-to-setfacl.patch + * 0023-Adding-dist-upgrade-support-to-zypper-module.patch + * 0024-Fix-open-ssh-bsc-1004723-upstream-issue-36966.patch + * 0025-Including-resolver-params-for-Zypper-debug-solver.patch + * 0026-fix-status-handling-in-sysv-init-scripts.patch + * 0028-change-TIMEZONE-on-SUSE-systems-bsc-1008933.patch + * 0029-Do-not-include-gpg-pubkey-packages-filtering-by-thei.patch + * 0030-Extract-archive-into-existing-directory-add-overwrit.patch + * 0031-Port-rsync-state-from-2016.3.patch + * 0032-Support-remote-port-forwarding-with-salt-ssh.patch + * 0033-Add-master_tops-support-in-salt-ssh.patch + * 0034-Fix-pkg.latest_version-when-latest-already-installed.patch + * 0035-salt-api-service-must-be-from-type-simple.patch + * 0037-salt-minion-service-back-to-type-simple.patch + * 0038-Successfully-exit-of-salt-api-child-processes-when-S.patch + * 0039-Re-introducing-KillMode-process-for-salt-minion-syst.patch + * 0040-Adding-Restart-on-failure-for-salt-minion-systemd-se.patch + * 0041-add-try-restart-to-fix-autorestarting-on-SUSE-system.patch + * 0043-Fixes-wrong-enabled-opts-for-yumnotify-plugin.patch + * 0044-Add-general-sanitisers.patch + * 0045-Fix-timezone-handling-for-rpm-installtime-bsc-101707.patch + * 0046-Snapper-module-improvements.patch + * 0047-Fix-issue-with-cp.push-36136.patch + * 0048-Prevents-OSError-exception-in-case-path-doesn-t-exis.patch + * 0049-OpenSCAP-module.patch + * 0050-Fix-service-state-returning-stacktrace-bsc-1027044.patch + * 0051-Allows-to-set-timeout-and-gather_job_timeout-via-kwa.patch + * 0052-Don-t-send-passwords-after-shim-delimiter-is-found-3.patch + * 0053-fix-race-condition-on-cache-directory-creation.patch + * 0054-Merge-output-from-master_tops.patch + * 0055-Adding-downloadonly-support-to-yum-dnf-module.patch + * 0056-Makes-sure-gather_job_timeout-is-an-integer.patch + * 0058-Adds-custom-timeout-and-gather_job_timeout-to-local_.patch + * 0059-Add-SHELL-env-var-for-the-salt-api.service.patch + * 0060-Fix-logrotate-for-minion-bsc-1030009-21.patch ------------------------------------------------------------------- -Tue May 2 11:41:11 UTC 2017 - pablo.suarezhernandez@suse.com +Thu May 11 09:06:25 UTC 2017 - bmaryniuk@suse.com -- Adding "yum-plugin-security" as required for RHEL 6 +- Bugfix: datetime should be returned always in UTC + +- Added: + * 0063-Bugfix-datetime-should-be-returned-always-in-UTC.patch +------------------------------------------------------------------- +Mon May 8 14:05:35 UTC 2017 - bmaryniuk@suse.com + +- Bugfix: scheduled state may cause crash while deserialising data + on infinite recursion. (bsc#1036125) + +- Added: + * 0062-Bugfix-deserialising-crashes-in-the-recursive-loop-b.patch ------------------------------------------------------------------- -Wed Apr 26 14:24:33 UTC 2017 - pablo.suarezhernandez@suse.com +Tue May 2 11:37:19 UTC 2017 - pablo.suarezhernandez@suse.com + +- Enable yum to handle errata on RHEL 6: require yum-plugin-security + +------------------------------------------------------------------- +Wed Apr 26 13:59:06 UTC 2017 - pablo.suarezhernandez@suse.com - Minor fixes on new pkg.list_downloaded - Listing all type of advisory patches for Yum module @@ -193,729 +430,778 @@ Wed Apr 26 14:24:33 UTC 2017 - pablo.suarezhernandez@suse.com - Fixes zypper test error after backporting - Added: - * search-the-entire-cache_dir-because-storage-paths-ch.patch + * 0061-Search-the-entire-CACHE_DIR-because-storage-paths-ch.patch + +- Modified: + * 0057-Adding-support-for-installing-patches-in-yum-dnf-exe.patch ------------------------------------------------------------------- -Mon Apr 17 15:24:02 UTC 2017 - pablo.suarezhernandez@suse.com +Mon Apr 17 16:00:43 UTC 2017 - pablo.suarezhernandez@suse.com - Refactoring on Zypper and Yum execution and state modules to allow installation of patches/errata. - Added: - * adding-support-for-installing-patches-in-yum-dnf-exe.patch + * 0057-Adding-support-for-installing-patches-in-yum-dnf-exe.patch - Removed: - * allows-using-downloadonly-in-a-pkg.installed-state.patch + * 0057-Allows-using-downloadonly-in-a-pkg.installed-state.patch ------------------------------------------------------------------- -Mon Apr 10 09:56:50 UTC 2017 - pablo.suarezhernandez@suse.com +Wed Apr 12 14:05:52 UTC 2017 - bmaryniuk@suse.com + +- Fix log rotation permission issue (bsc#1030009) +- Use pkg/suse/salt-api.service by this package + +- Removed: + * 0059-Set-salt-api-shell-env.patch + +- Added: + * 0059-Add-SHELL-env-var-for-the-salt-api.service.patch + * 0060-Fix-logrotate-for-minion-bsc-1030009-21.patch + +------------------------------------------------------------------- +Mon Apr 11 11:50:51 UTC 2017 - malbu@suse.com + +- Patch to set SHELL env variable for the salt-api.service. + Needed for salt-ssh ProxyCommand to work properly. +- Added: + * 0059-Set-salt-api-shell-env.patch + +------------------------------------------------------------------- +Mon Apr 10 10:00:51 UTC 2017 - pablo.suarezhernandez@suse.com - Fixes 'timeout' and 'gather_job_timeout' kwargs parameters for 'local_batch' client - Added: - * adds-custom-timeout-and-gather_job_timeout-to-local_.patch + * 0058-Adds-custom-timeout-and-gather_job_timeout-to-local_.patch ------------------------------------------------------------------- -Fri Apr 7 10:53:39 UTC 2017 - bmaryniuk@suse.com +Fri Apr 7 11:15:35 UTC 2017 - bmaryniuk@suse.com - Add missing bootstrap script for Salt Cloud (bsc#1032452) ------------------------------------------------------------------- -Tue Apr 4 14:58:20 UTC 2017 - bmaryniuk@suse.com - -- raet protocol is no longer supported (bsc#1020831) - -------------------------------------------------------------------- -Tue Apr 4 14:52:02 UTC 2017 - bmaryniuk@suse.com +Tue Apr 4 14:05:40 UTC 2017 - bmaryniuk@suse.com - Fix: add missing /var/cache/salt/cloud directory (bsc#1032213) ------------------------------------------------------------------- -Fri Mar 31 12:27:35 UTC 2017 - pablo.suarezhernandez@suse.com +Fri Mar 31 11:14:39 UTC 2017 - bmaryniuk@suse.com + +- Added test case for race conditions on cache directory creation +- Modified: + * 0053-fix-race-condition-on-cache-directory-creation.patch + +------------------------------------------------------------------- +Thu Mar 30 15:06:28 UTC 2017 - pablo.suarezhernandez@suse.com - Adding "pkg.install downloadonly=True" support to yum/dnf - execution module + execution module - Makes sure "gather_job_timeout" is an Integer - Adding "pkg.downloaded" state and support for installing patches/erratas - Added: - * adding-downloadonly-support-to-yum-dnf-module.patch - * allows-using-downloadonly-in-a-pkg.installed-state.patch - * makes-sure-gather_job_timeout-is-an-integer.patch + * 0055-Adding-downloadonly-support-to-yum-dnf-module.patch + * 0056-Makes-sure-gather_job_timeout-is-an-integer.patch + * 0057-Allows-using-downloadonly-in-a-pkg.installed-state.patch ------------------------------------------------------------------- -Fri Mar 31 12:03:18 UTC 2017 - bmaryniuk@suse.com +Wed Mar 29 13:45:52 UTC 2017 - bmaryniuk@suse.com -- Added test case for race conditions on cache directory creation -- Modified: - * fix-race-condition-on-cache-directory-creation.patch +- Fix: merge master_tops output ------------------------------------------------------------------- -Fri Mar 24 09:41:01 UTC 2017 - bmaryniuk@suse.com - -- Cleanup salt user environment preparation (bsc#1027722) - -------------------------------------------------------------------- -Thu Mar 23 15:53:22 UTC 2017 - moio@suse.com +Wed Mar 29 06:54:31 UTC 2017 - moio@suse.com - Fix: race condition on cache directory creation - Added: - * fix-race-condition-on-cache-directory-creation.patch + * 0053-fix-race-condition-on-cache-directory-creation.patch ------------------------------------------------------------------- -Mon Mar 20 10:35:36 UTC 2017 - bmaryniuk@suse.com +Fri Mar 24 09:32:03 UTC 2017 - bmaryniuk@suse.com -- Fix: /var/log/salt/minion fails logrotate (bsc#1030009) -- Fix: Result of master_tops extension is mutually overwritten - (bsc#1030073) -- Allows to set 'timeout' and 'gather_job_timeout' via kwargs +- Cleanup salt user environment preparation (bsc#1027722) + +------------------------------------------------------------------- +Wed Mar 22 17:04:01 UTC 2017 - pkazmierczak@suse.com + +- Don't send passwords after shim delimiter is found (bsc#1019386) +- Add: + * 0052-Don-t-send-passwords-after-shim-delimiter-is-found-3.patch + +------------------------------------------------------------------- +Thu Mar 16 17:33:12 UTC 2017 - pablo.suarezhernandez@suse.com + +- Allows to set 'timeout' and 'gather_job_timeout' via kwargs - Allows to set custom timeouts for 'manage.up' and 'manage.status' -- Use salt's ordereddict for comparison (fixes failing tests) -- add special salt-minion.service file for RES7 -- fix scripts for salt-proxy -- openscap module - -- Changed: - * run-salt-master-as-dedicated-salt-user.patch - -- Added: - * allows-to-set-timeout-and-gather_job_timeout-via-kwa.patch - * merge-output-from-master_tops.patch - * openscap-module.patch - * special-salt-minion.service-file-for-rhel7.patch - * use-salt-s-ordereddict-for-comparison.patch - +- Add: + * 0051-Allows-to-set-timeout-and-gather_job_timeout-via-kwa.patch ------------------------------------------------------------------- -Fri Mar 3 09:36:17 UTC 2017 - bmaryniuk@suse.com +Tue Mar 7 16:23:52 UTC 2017 - mihai.dinca@suse.com -- Update to 2016.11.3 - See https://docs.saltstack.com/en/develop/topics/releases/2016.11.3.html - for full changelog +- Update systemd module unit tests (Update patch 0050) -- Use correct package names for PyYAML and MarkupSafe (tbechtold@suse.com) +------------------------------------------------------------------- +Sun Mar 5 13:48:56 UTC 2017 - mc@suse.com -- Changed: - * add-ssh-option-to-salt-ssh.patch +- define with system for fedora and rhel 7 (bsc#1027240) +------------------------------------------------------------------- +Fri Mar 3 15:30:33 UTC 2017 - mihai.dinca@suse.com + +- Fix service state returning stacktrace (bsc#1027044) +- Add: + * 0050-Fix-service-state-returning-stacktrace-bsc-1027044.patch + +------------------------------------------------------------------- +Tue Feb 21 08:17:41 UTC 2017 - mihai.dinca@suse.com + +- Update OpenSCAP Module patch + +------------------------------------------------------------------- +Fri Feb 17 13:05:13 UTC 2017 - mihai.dinca@suse.com + +- OpenSCAP Module - Added: - * add-options-for-dockerng.patch - * fix-case-in-os_family-for-suse.patch - * fix-regression-in-file.get_managed-add-unit-tests.patch - * translate-variable-arguments-if-they-contain-hidden-.patch + * 0049-OpenSCAP-module.patch -- Removed: - * add-buildargs-option-to-dockerng.build.patch - * docker-buildargs-require-minimal-dockerpy-1.6.0-and-.patch - * fix-a-typo-for-master-comments.patch - * fix-error-parsing.patch - * fix-leading-dots-on-sanitized-hostname.patch - * fix-timezone-handling-for-rpm-installtime-bsc-101707.patch - * increasing-timeouts-for-running-integrations-tests.patch - * prevent-crash-on-unknown-to-the-repo-package.patch - * prevents-oserror-exception-in-case-path-doesn-t-exis.patch +------------------------------------------------------------------- +Wed Feb 15 10:50:37 UTC 2017 - pablo.suarezhernandez@suse.com + +- Prevents 'OSError' exception in case certain job cache path + doesn't exist (bsc#1023535) +- Added: + * 0048-Prevents-OSError-exception-in-case-path-doesn-t-exis.patch + +------------------------------------------------------------------- +Mon Feb 13 16:24:05 UTC 2017 - mihai.dinca@suse.com + +- Backport: Fix issue with cp.push (#36136) +- Add: + * 0047-Fix-issue-with-cp.push-36136.patch + +------------------------------------------------------------------- +Tue Feb 7 14:38:10 UTC 2017 - bmaryniuk@suse.com + +- Fix salt-minion update on RHEL (bsc#1022841) + +------------------------------------------------------------------- +Mon Feb 6 12:08:17 UTC 2017 - pablo.suarezhernandez@suse.com + +- Adding new functions to Snapper execution module. +- Added: * snapper-module-improvements.patch - * support-dryrun-for-dockerng.sls_build.patch ------------------------------------------------------------------- -Thu Feb 16 14:41:48 UTC 2017 - bmaryniuk@suse.com +Thu Jan 26 13:41:03 UTC 2017 - bmaryniuk@suse.com -- Update to 2016.11.2 - See https://docs.saltstack.com/en/develop/topics/releases/2016.11.2.html - for full changelog - -- Bugfixes: - * keep fix for migrating salt home directory (bsc#1022562) - * Fix salt-minion update on RHEL (bsc#1022841) - * Prevents 'OSError' exception in case certain job cache path - doesn't exist (bsc#1023535) - -- Added: - * add-a-salt-minion-service-control-file.patch - * add-buildargs-option-to-dockerng.build.patch - * add-ssh-option-to-salt-ssh.patch - * add-yum-plugin.patch - * avoid-failures-on-sles-12-sp2-because-of-new-systemd.patch - * change-travis-configuration-file-to-use-salt-toaster.patch - * docker-buildargs-require-minimal-dockerpy-1.6.0-and-.patch - * fix-a-typo-for-master-comments.patch - * fix-error-parsing.patch - * fix-leading-dots-on-sanitized-hostname.patch - * fix-timezone-handling-for-rpm-installtime-bsc-101707.patch - * increasing-timeouts-for-running-integrations-tests.patch - * prevent-crash-on-unknown-to-the-repo-package.patch - * prevents-oserror-exception-in-case-path-doesn-t-exis.patch - * snapper-module-improvements.patch - * support-dryrun-for-dockerng.sls_build.patch - -- Renamed: - * 0001-tserong-suse.com-We-don-t-have-python-systemd-so-not.patch -> - tserong-suse.com-we-don-t-have-python-systemd-so-not.patch - * 0002-Run-salt-master-as-dedicated-salt-user.patch -> - run-salt-master-as-dedicated-salt-user.patch - * 0003-Check-if-byte-strings-are-properly-encoded-in-UTF-8.patch -> - check-if-byte-strings-are-properly-encoded-in-utf-8.patch - * 0004-do-not-generate-a-date-in-a-comment-to-prevent-rebui.patch -> - do-not-generate-a-date-in-a-comment-to-prevent-rebui.patch - * 0007-Add-zypp-notify-plugin.patch -> - add-zypp-notify-plugin.patch - * 0009-fix-salt-summary-to-count-not-responding-minions-cor.patch -> - fix-salt-summary-to-count-not-responding-minions-cor.patch - * 0010-Run-salt-api-as-user-salt-bsc-990029.patch -> - run-salt-api-as-user-salt-bsc-990029.patch - * 0013-Setting-up-OS-grains-for-SLES-Expanded-Support-SUSE-.patch -> - setting-up-os-grains-for-sles-expanded-support-suse-.patch - -- Removed: - * 0005-Use-SHA256-hash-type-by-default.patch - * 0006-Create-salt-proxy-instantiated-service-file.patch - * 0008-snapper-execution-module.patch - * 0011-Fix-snapper_test-for-python26.patch - * 0012-Fix-pkg.upgrade-for-zypper.patch - * 0014-acl.delfacl-fix-position-of-X-option-to-setfacl.patch - * 0015-Change-travis-configuration-file-to-use-salt-toaster.patch - * 0016-Fix-pkg.latest_version-when-latest-already-installed.patch - * 0017-Including-resolver-params-for-Zypper-debug-solver.patch - -------------------------------------------------------------------- -Wed Nov 2 13:44:18 UTC 2016 - kkaempf@suse.com - -- Update to 2016.3.4 - see https://docs.saltstack.com/en/latest/topics/releases/2016.3.4.html -- Removed Patches, applied upstream - * 0008-checksum-validation-when-zypper-pkg.download.patch - * 0009-unit-tests-for-rpm.checksum-and-zypper.download.patch - * 0010-snapper-execution-module.patch - * 0011-fix-salt-summary-to-count-not-responding-minions-cor.patch - * 0012-Run-salt-api-as-user-salt-bsc-990029.patch - * 0013-Deprecate-status.uptime-one-version-later.patch - * 0014-Add-ignore_repo_failure-option-to-suppress-zypper-s-.patch - * 0015-Remove-zypper-s-raise-exception-if-mod_repo-has-no-a.patch - * 0016-Improve-Mock-to-be-flexible-and-able-to-mock-methods.patch - * 0017-Check-for-single-quote-before-splitting-on-single-qu.patch - * 0018-Unit-tests-fixes-for-2016.3.2.patch - * 0019-Fix-snapper_test-for-python26.patch - * 0020-Integration-tests-fixes-for-2016.3.2.patch - * 0021-Fix-pkg.upgrade-for-zypper.patch - * 0022-Setting-up-OS-grains-for-SLES-Expanded-Support-SUSE-.patch - * 0023-acl.delfacl-fix-position-of-X-option-to-setfacl.patch - * 0024-Change-travis-configuration-file-to-use-salt-toaster.patch - * 0025-Adding-dist-upgrade-support-to-zypper-module.patch - * 0026-Fix-pkg.latest_version-when-latest-already-installed.patch - * 0027-Including-resolver-params-for-Zypper-debug-solver.patch -- Added patches - * 0008-snapper-execution-module.patch - * 0009-fix-salt-summary-to-count-not-responding-minions-cor.patch - * 0010-Run-salt-api-as-user-salt-bsc-990029.patch - * 0011-Fix-snapper_test-for-python26.patch - * 0012-Fix-pkg.upgrade-for-zypper.patch - * 0013-Setting-up-OS-grains-for-SLES-Expanded-Support-SUSE-.patch - * 0014-acl.delfacl-fix-position-of-X-option-to-setfacl.patch - * 0015-Change-travis-configuration-file-to-use-salt-toaster.patch - * 0016-Fix-pkg.latest_version-when-latest-already-installed.patch - * 0017-Including-resolver-params-for-Zypper-debug-solver.patch - -------------------------------------------------------------------- -Mon Oct 31 16:40:49 UTC 2016 - pablo.suarezhernandez@suse.com - -- Including resolution parameters in the Zypper debug-solver - call during a dry-run dist-upgrade. +- Fix invalid chars allowed for data IDs (bsc#1011304) + Fix timezone: should be always in UTC (bsc#1017078) Add: - * 0027-Including-resolver-params-for-Zypper-debug-solver.patch + * 0044-Add-general-sanitisers.patch + * 0045-Fix-timezone-handling-for-rpm-installtime-bsc-101707.patch ------------------------------------------------------------------- -------------------------------------------------------------------- -Mon Oct 24 08:16:57 UTC 2016 - mihai.dinca@suse.com +Wed Jan 25 11:07:30 UTC 2017 - pablo.suarezhernandez@suse.com -- Fix-pkg.latest_version when latest already installed (bsc#1005329) +- Fixes wrong "enabled" opts for yumnotify plugin Add: - * 0026-Fix-pkg.latest_version-when-latest-already-installed.patch + * 0043-Fixes-wrong-enabled-opts-for-yumnotify-plugin.patch ------------------------------------------------------------------- -Wed Oct 19 15:22:46 UTC 2016 - pablo.suarezhernandez@suse.com +Mon Jan 2 16:47:37 UTC 2017 - malbu@suse.com -- Adding 'dist-upgrade' support to zypper module +- ssh-option parameter for salt-ssh command. + Added: + * 0042-Salt-ssh-ssh-option-param.patch + +------------------------------------------------------------------- +Tue Dec 20 17:48:48 CET 2016 - mc@suse.de + +- minion should pre-require salt +- do not restart salt-minion in the salt package +- add try-restart to sys-v init scripts Add: - * 0025-Adding-dist-upgrade-support-to-zypper-module.patch + * 0041-add-try-restart-to-fix-autorestarting-on-SUSE-system.patch ------------------------------------------------------------------- -Mon Oct 17 14:09:02 UTC 2016 - mihai.dinca@suse.com +Tue Dec 20 09:41:27 UTC 2016 - pablo.suarezhernandez@suse.com -- Copy .travis.yml from git commit 1829a6086a19a3f887c5216dc8aace9068063cfe +- Adding "Restart=on-failure" for salt-minion systemd service + Add: + * 0040-Adding-Restart-on-failure-for-salt-minion-systemd-se.patch + +------------------------------------------------------------------- +Mon Dec 19 15:25:17 UTC 2016 - pablo.suarezhernandez@suse.com + +- Re-introducing "KillMode=process" for salt-minion systemd service + Add: + * 0039-Re-introducing-KillMode-process-for-salt-minion-syst.patch + +------------------------------------------------------------------- +Wed Dec 14 16:16:55 UTC 2016 - mihai.dinca@suse.com + +- Successfully exit of salt-api child processes when SIGTERM is received + Add: + * 0038-Successfully-exit-of-salt-api-child-processes-when-S.patch + +------------------------------------------------------------------- +Wed Dec 14 13:31:09 UTC 2016 - mihai.dinca@suse.com + +- Add new patches: + * 0034-Fix-pkg.latest_version-when-latest-already-installed.patch + * 0035-salt-api-service-must-be-from-type-simple.patch + * 0036-Avoid-failures-on-SLES-12-SP2-because-of-new-systemd.patch + * 0037-salt-minion-service-back-to-type-simple.patch + +------------------------------------------------------------------- +Fri Dec 9 15:25:53 UTC 2016 - mihai.dinca@suse.com + +- Update to 2015.8.12 +- Fix possible information leak due to revoked keys still being used. + (bsc#1012398, CVE-2016-9639) + +- inherited patches + 0001-tserong-suse.com-We-don-t-have-python-systemd-so-not.patch + 0002-Run-salt-master-as-dedicated-salt-user.patch + 0003-Check-if-byte-strings-are-properly-encoded-in-UTF-8.patch + +- renamed patches + 0026-do-not-generate-a-date-in-a-comment-to-prevent-rebui.patch + -> 0004-do-not-generate-a-date-in-a-comment-to-prevent-rebui.patch + 0036-Use-SHA256-hash-type-by-default.patch + -> 0005-Use-SHA256-hash-type-by-default.patch + 0046-Add-SUSE-Manager-plugin.patch + -> 0007-Add-SUSE-Manager-plugin.patch + 0048-Create-salt-proxy-instantiated-service-file.patch + -> 0006-Create-salt-proxy-instantiated-service-file.patch + 0053-Fix-pkgrepo.managed-gpgkey-argument-bsc-979448.patch + -> 0008-Fix-pkgrepo.managed-gpgkey-argument-bsc-979448.patch + 0059-Rewrite-minion-ID-generator-bsc-967803.patch + -> 0009-Rewrite-minion-ID-generator-bsc-967803.patch + 0061-snapper-execution-module.patch + -> 0010-snapper-execution-module.patch + 0063-Fix-module-import-being-Py3-and-P2.6-compatible.patch + -> 0011-Fix-module-import-being-Py3-and-P2.6-compatible.patch + 0064-Run-salt-api-as-user-salt-bsc-990029.patch + -> 0012-Run-salt-api-as-user-salt-bsc-990029.patch + 0067-Bugfix-prevent-crash-if-python-dbus-module-is-instal.patch + -> 0013-Bugfix-prevent-crash-if-python-dbus-module-is-instal.patch + 0070-Fix-some-unittests.patch + -> 0014-Fix-some-unittests.patch + 0071-Check-for-single-quote-before-splitting-on-single-qu.patch + -> 0015-Check-for-single-quote-before-splitting-on-single-qu.patch + 0072-Unit-test-fixes-for-2015.8.7.patch + -> 0016-Unit-test-fixes-for-2015.8.7.patch + 0073-Fix-snapper_test-for-python26.patch + -> 0017-Fix-snapper_test-for-python26.patch + 0074-Integration-tests-fixes-for-2015.8.7.patch + -> 0018-Integration-tests-fixes-for-2015.8.7.patch + 0075-Generate-Salt-Thin-with-configured-extra-modules.patch + -> 0019-Generate-Salt-Thin-with-configured-extra-modules.patch + 0076-Setting-up-OS-grains-for-SLES-Expanded-Support-SUSE-.patch + -> 0020-Setting-up-OS-grains-for-SLES-Expanded-Support-SUSE-.patch + 0077-acl.delfacl-fix-position-of-X-option-to-setfacl.patch + -> 0021-acl.delfacl-fix-position-of-X-option-to-setfacl.patch + 0078-Change-travis-configuration-file-to-use-salt-toaster.patch + -> 0022-Change-travis-configuration-file-to-use-salt-toaster.patch + 0079-Adding-dist-upgrade-support-to-zypper-module.patch + -> 0023-Adding-dist-upgrade-support-to-zypper-module.patch + 0080-Fix-open-ssh-bsc-1004723-upstream-issue-36966.patch + -> 0024-Fix-open-ssh-bsc-1004723-upstream-issue-36966.patch + 0081-Including-resolver-params-for-Zypper-debug-solver.patch + -> 0025-Including-resolver-params-for-Zypper-debug-solver.patch + 0082-fix-status-handling-in-sysv-init-scripts.patch + -> 0026-fix-status-handling-in-sysv-init-scripts.patch + +- new patches from upstream + 0027-Add-YUM-plugin.patch + 0028-change-TIMEZONE-on-SUSE-systems-bsc-1008933.patch (bsc#1008933) + 0029-Do-not-include-gpg-pubkey-packages-filtering-by-thei.patch + 0030-Extract-archive-into-existing-directory-add-overwrit.patch + 0031-Port-rsync-state-from-2016.3.patch + 0032-Support-remote-port-forwarding-with-salt-ssh.patch + 0033-Add-master_tops-support-in-salt-ssh.patch + +- upstreamed patches + 0004-Fix-pkg.latest-prevent-crash-on-multiple-package-ins.patch + 0005-Fix-package-status-filtering-on-latest-version-and-i.patch + 0006-add_key-reject_key-do-not-crash-w-Permission-denied-.patch + 0007-Force-kill-websocket-s-child-processes-faster-than-d.patch + 0008-Fix-types-in-the-output-data-and-return-just-a-list-.patch + 0009-The-functions-in-the-state-module-that-return-a-retc.patch + 0010-add-handling-for-OEM-products.patch + 0011-improve-doc-for-list_pkgs.patch + 0012-implement-version_cmp-for-zypper.patch + 0013-pylint-changes.patch + 0014-Check-if-rpm-python-can-be-imported.patch + 0015-call-zypper-with-option-non-interactive-everywhere.patch + 0016-write-a-zypper-command-builder-function.patch + 0017-Fix-crash-with-scheduler-and-runners-31106.patch + 0018-unify-behavior-of-refresh.patch + 0019-add-refresh-option-to-more-functions.patch + 0020-simplify-checking-the-refresh-paramater.patch + 0021-do-not-change-kwargs-in-refresh-while-checking-a-val.patch + 0022-fix-argument-handling-for-pkg.download.patch + 0023-Initial-Zypper-Unit-Tests-and-bugfixes.patch + 0024-proper-checking-if-zypper-exit-codes-and-handling-of.patch + 0025-adapt-tests-to-new-zypper_check_result-output.patch + 0027-make-suse-check-consistent-with-rh_service.patch + 0028-fix-numerical-check-of-osrelease.patch + 0029-Make-use-of-checksum-configurable-defaults-to-MD5-SH.patch + 0030-Bugfix-on-SLE11-series-base-product-reported-as-addi.patch + 0031-Only-use-LONGSIZE-in-rpm.info-if-available.-Otherwis.patch + 0032-Add-error-check-when-retcode-is-0-but-stderr-is-pres.patch + 0033-fixing-init-system-dectection-on-sles-11-refs-31617.patch + 0034-Fix-git_pillar-race-condition.patch + 0035-Fix-the-always-false-behavior-on-checking-state.patch + 0037-Force-sort-the-RPM-output-to-ensure-latest-version-o.patch + 0038-fix-sorting-by-latest-version-when-called-with-an-at.patch + 0039-Prevent-metadata-download-when-getting-installed-pro.patch + 0040-Check-if-EOL-is-available-in-a-particular-product-bs.patch + 0041-Bugfix-salt-key-crashes-if-tries-to-generate-keys-to.patch + 0042-align-OS-grains-from-older-SLES-with-current-one-bsc.patch + 0043-Prevent-crash-if-pygit2-package-is-requesting-re-com.patch + 0044-Unblock-Zypper.-Modify-environment.patch + 0045-Bugfix-Restore-boolean-values-from-the-repo-configur.patch + 0047-Old-style-proxymodules-need-to-be-setup-earlier-in-m.patch + 0049-Prevent-several-minion-processes-on-the-same-machine.patch + 0050-checksum-validation-when-zypper-pkg.download.patch + 0051-unit-tests-for-rpm.checksum-and-zypper.download.patch + 0052-jobs.exit_success-allow-to-check-if-a-job-has-execut.patch + 0054-fix-groupadd-module-for-sles11-systems.patch + 0055-Backport-31164-and-31364-32474.patch + 0056-Move-log-message-from-INFO-to-DEBUG.patch + 0057-fix-salt-summary-to-count-not-responding-minions-cor.patch + 0058-Getting-the-os-grain-from-CPE_NAME-inside-etc-os-rel.patch + 0060-Bugfix-return-boolean-only-for-isbase-and-installed-.patch + 0062-Add-realpath-to-lvm.pvdisplay-and-use-it-in-vg_prese.patch + 0065-fix-beacon-list-to-include-all-beacons-being-process.patch + 0066-Fix-continuous-minion-restart-if-a-dependency-wasn-t.patch + 0068-Add-ignore_repo_failure-option-to-suppress-zypper-s-.patch + 0069-Remove-zypper-s-raise-exception-if-mod_repo-has-no-a.patch + +------------------------------------------------------------------- +Mon Nov 28 14:44:21 UTC 2016 - kkaempf@suse.com + +- Splitted non-Linux and other external platform modules + to 'salt-other' sub-package. + +------------------------------------------------------------------- +Mon Nov 28 14:24:24 UTC 2016 - kkaempf@suse.com + +- Switch package group from System/Monitoring to System/Management + +------------------------------------------------------------------- +Sun Nov 6 17:39:54 UTC 2016 - mc@suse.com + +- fix exist codes of sysv init script (bsc#999852) + Add: + * 0082-fix-status-handling-in-sysv-init-scripts.patch + +------------------------------------------------------------------- +Mon Oct 31 16:53:51 UTC 2016 - pablo.suarezhernandez@suse.com + +- Including resolution parameters in the Zypper debug-solver call + during a dry-run dist-upgrade. + Add: + * 0081-Including-resolver-params-for-Zypper-debug-solver.patch + +------------------------------------------------------------------- +Tue Oct 25 07:19:39 UTC 2016 - bmaryniuk@suse.com + +- Fix Salt API crash via salt-ssh on empty roster (bsc#1004723) + Add: + * 0080-Fix-open-ssh-bsc-1004723-upstream-issue-36966.patch + +------------------------------------------------------------------- +Wed Oct 19 14:24:10 UTC 2016 - pablo.suarezhernandez@suse.com + +- Adding 'dist-upgrade' support to zypper module (FATE#320559) + Add: + * 0079-Adding-dist-upgrade-support-to-zypper-module.patch + +------------------------------------------------------------------- +Mon Oct 17 14:07:17 UTC 2016 - mihai.dinca@suse.com + +- Copy .travis.yml from git commit ea63e793567ba777e47dc766a4f88edfb037a02f Add: * travis.yml - Change travis configuration file to use salt-toaster Add: + * travis.yml * 0078-Change-travis-configuration-file-to-use-salt-toaster.patch ------------------------------------------------------------------- -Thu Oct 13 15:41:50 UTC 2016 - mihai.dinca@suse.com +Thu Oct 13 15:41:47 UTC 2016 - mihai.dinca@suse.com - acl.delfacl: fix position of -X option to setfacl (bsc#1004260) Add: - * 0023-acl.delfacl-fix-position-of-X-option-to-setfacl.patch + * 0077-acl.delfacl-fix-position-of-X-option-to-setfacl.patch ------------------------------------------------------------------- -Tue Oct 11 11:59:14 UTC 2016 - mc@suse.com +Tue Oct 11 11:52:04 UTC 2016 - mc@suse.com - fix generated shebang in scripts on SLES-ES 7 (bsc#1004047) ------------------------------------------------------------------- -Wed Oct 5 13:33:25 UTC 2016 - mihai.dinca@suse.com +Thu Oct 6 17:49:01 CEST 2016 - mc@suse.de -- Setting up OS grains for SLES-ES (SLES Expanded Support platform) +- add update-documentation.sh to specfile + +------------------------------------------------------------------- +Wed Oct 5 13:33:16 UTC 2016 - mihai.dinca@suse.com + +- Setting up OS grains for SLES-ES (SLES Expanded Support platform) Add: - * 0022-Setting-up-OS-grains-for-SLES-Expanded-Support-SUSE-.patch + * 0076-Setting-up-OS-grains-for-SLES-Expanded-Support-SUSE-.patch ------------------------------------------------------------------- -Wed Sep 28 12:35:32 UTC 2016 - tampakrap@opensuse.org +Tue Oct 4 13:24:12 UTC 2016 - Michele.Bologna@suse.com -- Rename susemanager plugin to zyppnotify, as it is not SUSE Manager specific -- Remove the subpackage and put the plugin back to the main package - according to upstream +- Move salt home directory to /var/lib/salt (bsc#1002529) +- Adjust permissions on home directory +- Adjust pre-install script to correctly move existing salt users' home directory + +salt user cannot write in his own home directory (/srv/salt) because +it is owned by user `root`. +This prevents salt from correctly save ssh known hosts in ~/.ssh/ +and breaks salt-ssh bootstrapping. + +------------------------------------------------------------------- +Tue Sep 27 09:59:38 UTC 2016 - bmaryniuk@suse.com + +- Updated html.tar.bz2 documentation tarball. +- Generate Salt Thin with configured extra modules (bsc#990439) Add: - * 0007-Add-zypp-notify-plugin.patch - Remove: - * 0007-Add-SUSE-Manager-plugin.patch + * 0075-Generate-Salt-Thin-with-configured-extra-modules.patch ------------------------------------------------------------------- -Wed Sep 28 11:40:36 UTC 2016 - tampakrap@opensuse.org +Tue Sep 13 14:43:45 UTC 2016 - pablo.suarezhernandez@suse.com -- Add upstream patch to fix pkg.upgrade for zypper +- Unit and integration tests fixes for 2015.8.7 Add: - * 0021-Fix-pkg.upgrade-for-zypper.patch + * 0072-Unit-test-fixes-for-2015.8.7.patch + * 0073-Fix-snapper_test-for-python26.patch + * 0074-Integration-tests-fixes-for-2015.8.7.patch ------------------------------------------------------------------- -Tue Sep 27 23:55:03 UTC 2016 - mrueckert@suse.de - -- splitting out the susemanager integration plugins into their own - subpackages. ATM this only contains the zypp plugin to tell - susemanager about manually installed packages. - -------------------------------------------------------------------- -Tue Sep 13 15:07:44 UTC 2016 - pablo.suarezhernandez@suse.com - -- Unit and integration tests fixes for 2016.3.2 - Add: - * 0018-Unit-tests-fixes-for-2016.3.2.patch - * 0019-Fix-snapper_test-for-python26.patch - * 0020-Integration-tests-fixes-for-2016.3.2.patch - -------------------------------------------------------------------- -Fri Sep 2 09:50:57 UTC 2016 - pablo.suarezhernandez@suse.com +Fri Sep 2 10:05:01 UTC 2016 - pablo.suarezhernandez@suse.com - Prevent pkg.install failure for expired keys (bsc#996455) Add: - * 0017-Check-for-single-quote-before-splitting-on-single-qu.patch + * 0071-Check-for-single-quote-before-splitting-on-single-qu.patch ------------------------------------------------------------------- -Tue Aug 30 12:24:45 UTC 2016 - bmaryniuk@suse.com +Mon Aug 29 15:06:56 UTC 2016 - bmaryniuk@suse.com -- Required D-Bus and generating machine ID where it is missing +- Required D-Bus and generating machine ID ------------------------------------------------------------------- -Fri Aug 26 13:11:58 UTC 2016 - bmaryniuk@suse.com +Fri Aug 26 15:08:32 CEST 2016 - mc@suse.de -- Fix sphinx crashes when documentation is being generated - Add script for documentation update. +- add a macro to check if the docs should be build or the static + tarball should be used - Add: - * 0016-Improve-Mock-to-be-flexible-and-able-to-mock-methods.patch +------------------------------------------------------------------- +Wed Aug 24 09:03:21 UTC 2016 - mihai.dinca@suse.com + +- Fix a couple of failing unittests + * 0070-Fix-some-unittests.patch + +------------------------------------------------------------------- +Tue Aug 23 14:15:58 UTC 2016 - bmaryniuk@suse.com + +- Helper script for updating documentation tarball. + Added: * update-documentation.sh ------------------------------------------------------------------- -Tue Aug 16 12:01:59 UTC 2016 - bmaryniuk@suse.com +Tue Aug 16 14:54:49 UTC 2016 - mihai.dinca@suse.com + +- Fix python-jinja2 requirements in rhel + +------------------------------------------------------------------- +Tue Aug 16 11:48:27 UTC 2016 - bmaryniuk@suse.com - Fix pkg.installed refresh repo failure (bsc#993549) Fix salt.states.pkgrepo.management no change failure (bsc#990440) Add: - * 0014-Add-ignore_repo_failure-option-to-suppress-zypper-s-.patch - * 0015-Remove-zypper-s-raise-exception-if-mod_repo-has-no-a.patch + * 0068-Add-ignore_repo_failure-option-to-suppress-zypper-s-.patch + * 0069-Remove-zypper-s-raise-exception-if-mod_repo-has-no-a.patch ------------------------------------------------------------------- -Tue Aug 9 13:40:37 UTC 2016 - bmaryniuk@suse.com +Thu Aug 11 14:35:06 UTC 2016 - bmaryniuk@suse.com -- Deprecate status.uptime one version later +- Prevent snapper module crash on load if no DBus is + available in the system (bsc#993039) Add: - * 0013-Deprecate-status.uptime-one-version-later.patch + * 0067-Bugfix-prevent-crash-if-python-dbus-module-is-instal.patch ------------------------------------------------------------------- -Mon Aug 8 16:25:04 UTC 2016 - pablo.suarezhernandez@suse.com +Thu Aug 11 12:34:34 UTC 2016 - bmaryniuk@suse.com -- Fix for 0008-checksum-validation-when-zypper-pkg.download.patch - after upstream merging conflict. Prevent zypper test failure. - Update: - * 0008-checksum-validation-when-zypper-pkg.download.patch +- Prevent continuous restart, if a dependency wasn't installed + (bsc#991048) + Add: + * 0066-Fix-continuous-minion-restart-if-a-dependency-wasn-t.patch ------------------------------------------------------------------- -Thu Aug 4 14:56:42 UTC 2016 - mihai.dinca@suse.com - -- Update to v2016.3.2 - see https://docs.saltstack.com/en/latest/topics/releases/2016.3.2.html -- Removed Patches, applied upstream - * 0010-Getting-the-os-grain-from-CPE_NAME-inside-etc-os-rel.patch - * 0011-snapper-execution-module.patch - * 0012-Force-minion-exit-on-mis-configuration-read.patch - * 0013-fix-salt-summary-to-count-not-responding-minions-cor.patch - * 0014-Move-log-message-from-INFO-to-DEBUG.patch - * 0016-Run-salt-api-as-user-salt-bsc-990029.patch - * 0017-fix-beacon-list-to-include-all-beacons-being-process.patch -- Added Patches back - * 0010-snapper-execution-module.patch - * 0011-fix-salt-summary-to-count-not-responding-minions-cor.patch - * 0012-Run-salt-api-as-user-salt-bsc-990029.patch - -------------------------------------------------------------------- -Wed Aug 3 14:50:35 UTC 2016 - pablo.suarezhernandez@suse.com +Wed Aug 3 14:40:34 UTC 2016 - pablo.suarezhernandez@suse.com - Fix beacon list to include all beacons being process Add: - * 0017-fix-beacon-list-to-include-all-beacons-being-process.patch + * 0065-fix-beacon-list-to-include-all-beacons-being-process.patch ------------------------------------------------------------------- -Fri Jul 29 11:48:37 UTC 2016 - kkaempf@suse.com - -- Redo patches, sync with github.com/openSUSE/salt - -- Renamed patches - * 0016-Getting-the-os-grain-from-CPE_NAME-inside-etc-os-rel.patch - -> 0010-Getting-the-os-grain-from-CPE_NAME-inside-etc-os-rel.patch - * 0017-snapper-execution-module.patch - -> 0011-snapper-execution-module.patch - * 0018-Force-minion-exit-on-mis-configuration-read.patch - -> 0012-Force-minion-exit-on-mis-configuration-read.patch - -- Added back (fix upstream merge problems): - * 0008-checksum-validation-when-zypper-pkg.download.patch - * 0009-unit-tests-for-rpm.checksum-and-zypper.download.patch - -- fix salt --summary to count not responding minions correctly - (bsc#972311) - * 0013-fix-salt-summary-to-count-not-responding-minions-cor.patch - -- Move log message from INFO to DEBUG (bsc#985661) - * 0014-Move-log-message-from-INFO-to-DEBUG.patch - -- pkg.list_products on "registerrelease" and "productline" - returns boolean.False if empty (bsc#989193) - * 0015-Bugfix-return-boolean-only-for-isbase-and-installed-.patch +Fri Jul 29 10:59:09 CEST 2016 - mc@suse.de - Run salt-api as user salt like the master (bsc#990029) - * 0016-Run-salt-api-as-user-salt-bsc-990029.patch - -------------------------------------------------------------------- -Fri Jul 22 15:16:16 UTC 2016 - darin@darins.net - -- Update to v2016.3.1 - see https://docs.saltstack.com/en/latest/topics/releases/2016.3.1.html -- Removed Patches, applied upstream - * 0008-Prevent-several-minion-processes-on-the-same-machine.patch - * 0009-checksum-validation-when-zypper-pkg.download.patch - * 0010-unit-tests-for-rpm.checksum-and-zypper.download.patch - * 0011-jobs.exit_success-allow-to-check-if-a-job-has-execut.patch - * 0012-Fix-pkgrepo.managed-gpgkey-argument-bsc-979448.patch - * 0013-fix-groupadd-module-for-sles11-systems.patch - * 0014-Fix-crashing-Maintenence-process.patch - * 0015-Insert-no-refresh-before-install-in-Zypper.patch - -------------------------------------------------------------------- -Tue Jul 19 15:03:10 UTC 2016 - bmaryniuk@suse.com - -- Bugfix: Exit on configuration read (bsc#985667) Add: - * 0018-Force-minion-exit-on-mis-configuration-read.patch + * 0064-Run-salt-api-as-user-salt-bsc-990029.patch ------------------------------------------------------------------- -Mon Jul 18 08:32:04 UTC 2016 - pablo.suarezhernandez@suse.com +Fri Jul 22 10:08:59 UTC 2016 - dmacvicar@suse.de + +- Revert patch Minion ID generation (bsc#967803) + Removes: + * 0059-Rewrite-minion-ID-generator-bsc-967803.patch + +------------------------------------------------------------------- +Wed Jul 20 15:16:55 UTC 2016 - bmaryniuk@suse.com + +- Fix broken inspector due to accidentally + missed commit (bsc#989798) + Add: + * 0063-Fix-module-import-being-Py3-and-P2.6-compatible.patch + +------------------------------------------------------------------- +Wed Jul 20 09:33:36 UTC 2016 - bmaryniuk@suse.com + +- Set always build salt-doc package. + +------------------------------------------------------------------- +Tue Jul 19 14:18:35 UTC 2016 - pablo.suarezhernandez@suse.com + +- Bugfix: lvm.vg_present does not recognize PV with certain LVM + filter settings (bsc#988506) + Add: + * 0062-Add-realpath-to-lvm.pvdisplay-and-use-it-in-vg_prese.patch + +------------------------------------------------------------------- +Mon Jul 18 10:20:05 UTC 2016 - pablo.suarezhernandez@suse.com - Backport: Snapper module for Salt. Add: - * 0017-snapper-execution-module.patch + * 0061-snapper-execution-module.patch ------------------------------------------------------------------- -Wed Jun 22 07:56:44 UTC 2016 - pablo.suarezhernandez@suse.com +Fri Jul 15 15:37:18 UTC 2016 - bmaryniuk@suse.com + +- Bugfix: pkg.list_products on "registerrelease" and "productline" + returns boolean.False if empty (bsc#989193, bsc#986019) + Add: + * 0060-Bugfix-return-boolean-only-for-isbase-and-installed-.patch + +------------------------------------------------------------------- +Fri Jun 24 10:33:29 UTC 2016 - bmaryniuk@suse.com + +- Rewrite Minion ID generation (bsc#967803) + Add: + * 0059-Rewrite-minion-ID-generator-bsc-967803.patch + +------------------------------------------------------------------- +Wed Jun 22 08:16:04 UTC 2016 - pablo.suarezhernandez@suse.com - Bugfix: Fixed behavior for SUSE OS grains (bsc#970669) Bugfix: Salt os_family does not detect SLES for SAP (bsc#983017) Add: - * 0016-Getting-the-os-grain-from-CPE_NAME-inside-etc-os-rel.patch + * 0058-Getting-the-os-grain-from-CPE_NAME-inside-etc-os-rel.patch ------------------------------------------------------------------- -Mon Jun 20 11:26:29 UTC 2016 - thipp@suse.com +Tue Jun 21 12:25:13 CEST 2016 - mc@suse.de -- Insert --no-refresh before install in Zypper +- Move log message from INFO to DEBUG (bsc#985661) Add: - * 0015-Insert-no-refresh-before-install-in-Zypper.patch + 0056-Move-log-message-from-INFO-to-DEBUG.patch +- fix salt --summary to count not responding minions correctly + (bsc#972311) + Add: + * 0057-fix-salt-summary-to-count-not-responding-minions-cor.patch ------------------------------------------------------------------- -Wed Jun 15 11:38:26 UTC 2016 - kkaempf@suse.com +Tue Jun 14 09:52:40 UTC 2016 - tserong@suse.com -- Update to v2016.3.0 - see https://docs.saltstack.com/en/latest/topics/releases/2016.3.0.html - - * backwards-incompatible changes: - - The default path for the extension_modules master config option - has been changed. - -- add 0014-Fix-crashing-Maintenence-process.patch - see release notes +- Fix memory leak on custom execution module sheduled jobs (bsc#983512) + Add: + * 0055-Backport-31164-and-31364-32474.patch ------------------------------------------------------------------- -Wed Jun 1 09:52:40 UTC 2016 - mihai.dinca@suse.com +Thu Jun 9 10:04:24 UTC 2016 - pablo.suarezhernandez@suse.com + +- fix groupadd module for sles11 systems (bsc#978150) + Add: + * 0054-fix-groupadd-module-for-sles11-systems.patch + +------------------------------------------------------------------- +Wed Jun 1 09:33:20 UTC 2016 - mihai.dinca@suse.com - Fix pkgrepo.managed gpgkey argument doesn't work (bsc#979448) Add: - * 0012-Fix-pkgrepo.managed-gpgkey-argument-bsc-979448.patch + * 0053-Fix-pkgrepo.managed-gpgkey-argument-bsc-979448.patch ------------------------------------------------------------------- -Thu May 26 11:05:04 UTC 2016 - pablo.suarezhernandez@suse.com +Fri May 27 09:20:03 UTC 2016 - pablo.suarezhernandez@suse.com - Package checksum validation for zypper pkg.download Add: - * 0009-checksum-validation-when-zypper-pkg.download.patch - * 0010-unit-tests-for-rpm.checksum-and-zypper.download.patch + * 0050-checksum-validation-when-zypper-pkg.download.patch + * 0051-unit-tests-for-rpm.checksum-and-zypper.download.patch - Check if a job has executed and returned successfully Add: - * 0011-jobs.exit_success-allow-to-check-if-a-job-has-execut.patch + * 0052-jobs.exit_success-allow-to-check-if-a-job-has-execut.patch ------------------------------------------------------------------- -Tue May 24 11:06:12 UTC 2016 - bmaryniuk@suse.com - -- Prevent several minion processes on the same machine (bsc#975733) +Mon May 23 15:54:12 UTC 2016 - bmaryniuk@suse.com +- Remove option -f from startproc (bsc#975733) Add: - * 0008-Prevent-several-minion-processes-on-the-same-machine.patch + * 0049-Prevent-several-minion-processes-on-the-same-machine.patch ------------------------------------------------------------------- -Mon May 23 15:11:42 UTC 2016 - bmaryniuk@suse.com +Mon May 23 13:47:49 UTC 2016 - bmaryniuk@suse.com - Changed Zypper's plugin. Added Unit test and related to that data (bsc#980313). + Update: + * 0046-Add-SUSE-Manager-plugin.patch - Add: - * 0006-Create-salt-proxy-instantiated-service-file.patch - * 0007-Add-SUSE-Manager-plugin.patch - - Remove: - * 0006-Add-SUSE-Manager-plugin.patch - * 0007-Create-salt-proxy-instantiated-service-file.patch - * 0008-Alter-the-event-name.patch - + Delete (not needed anymore): + * 0049-Alter-the-event-name.patch ------------------------------------------------------------------- -Mon May 23 09:52:29 UTC 2016 - tampakrap@opensuse.org - -- Update to 2015.8.10 - see https://docs.saltstack.com/en/latest/topics/releases/2015.8.10.html - -------------------------------------------------------------------- -Fri May 20 10:54:42 UTC 2016 - tampakrap@opensuse.org - -- Update to 2015.8.9 - see https://docs.saltstack.com/en/latest/topics/releases/2015.8.9.html - Patches renamed: - * 0006-Add-SUSE-Manager-plugin.patch - * 0007-Create-salt-proxy-instantiated-service-file.patch - * 0008-Alter-the-event-name.patch - Patches removed: - * 0006-Update-to-2015.8.8.2.patch - * 0007-Force-sort-the-RPM-output-to-ensure-latest-version-o.patch - * 0008-Cleaner-deprecation-process-with-decorators.patch - * 0009-fix-sorting-by-latest-version-when-called-with-an-at.patch - * 0010-Prevent-metadata-download-when-getting-installed-pro.patch - * 0011-Check-if-EOL-is-available-in-a-particular-product-bs.patch - * 0012-Bugfix-salt-key-crashes-if-tries-to-generate-keys-to.patch - * 0013-Prevent-crash-if-pygit2-package-is-requesting-re-com.patch - * 0014-align-OS-grains-from-older-SLES-with-current-one-326.patch - * 0015-Unblock-Zypper.-Modify-environment.patch - * 0016-Bugfix-Restore-boolean-values-from-the-repo-configur.patch - * 0017-Add-SUSE-Manager-plugin.patch - * 0018-Create-salt-proxy-instantiated-service-file.patch - * 0019-Alter-the-event-name.patch - -------------------------------------------------------------------- -Tue May 17 10:08:57 UTC 2016 - bmaryniuk@suse.com +Tue May 17 09:57:57 UTC 2016 - bmaryniuk@suse.com - Zypper plugin: alter the generated event name on package set change. Add: - * 0019-Alter-the-event-name.patch + * 0049-Alter-the-event-name.patch ------------------------------------------------------------------- -Thu May 12 08:52:26 UTC 2016 - pablo.suarezhernandez@suse.com - -- salt-proxy .service file created (bsc#975306) - Add: - * 0018-Create-salt-proxy-instantiated-service-file.patch - -------------------------------------------------------------------- -Thu May 12 00:42:34 UTC 2016 - tserong@suse.com +Thu May 12 00:42:27 UTC 2016 - tserong@suse.com - Fix file ownership on master keys and cache directories during upgrade (handles upgrading from salt 2014, where the daemon ran as root, to 2015 where it runs as the salt user, bsc#979676). ------------------------------------------------------------------- -Wed May 11 07:20:40 UTC 2016 - bmaryniuk@suse.com +Wed May 11 11:01:44 UTC 2016 - pablo.suarezhernandez@suse.com + +- salt-proxy .service file created (bsc#975306) + Add: + * 0048-Create-salt-proxy-instantiated-service-file.patch + +------------------------------------------------------------------- +Wed May 11 08:51:44 UTC 2016 - pablo.suarezhernandez@suse.com + +- Prevent salt-proxy test.ping crash (bsc#975303) + Add: + * 0047-Old-style-proxymodules-need-to-be-setup-earlier-in-m.patch + +------------------------------------------------------------------- +Wed May 11 07:18:54 UTC 2016 - bmaryniuk@suse.com - Fix shared directories ownership issues. ------------------------------------------------------------------- -Mon May 9 12:06:32 UTC 2016 - bmaryniuk@suse.com +Mon May 9 08:55:32 UTC 2016 - bmaryniuk@suse.com - Add Zypper plugin to generate an event, once Zypper is used outside the Salt infrastructure demand (bsc#971372). Add: - * 0017-Add-SUSE-Manager-plugin.patch + * 0046-Add-SUSE-Manager-plugin.patch ------------------------------------------------------------------- -Fri May 6 13:37:12 UTC 2016 - bmaryniuk@suse.com +Fri May 6 14:53:03 UTC 2016 - bmaryniuk@suse.com - Restore boolean values from the repo configuration Fix priority attribute (bsc#978833) Add: - * 0016-Bugfix-Restore-boolean-values-from-the-repo-configur.patch + * 0045-Bugfix-Restore-boolean-values-from-the-repo-configur.patch ------------------------------------------------------------------- -Wed May 4 13:17:29 UTC 2016 - bmaryniuk@suse.com +Wed May 4 12:39:32 UTC 2016 - bmaryniuk@suse.com - Unblock-Zypper. (bsc#976148) Modify-environment. (bsc#971372) Add: - * 0015-Unblock-Zypper.-Modify-environment.patch + * 0044-Unblock-Zypper.-Modify-environment.patch ------------------------------------------------------------------- -Wed Apr 20 09:27:31 UTC 2016 - bmaryniuk@suse.com +Wed Apr 20 08:59:06 UTC 2016 - bmaryniuk@suse.com -- Prevent crash if pygit2 package requests recompilation. +- Prevent crash if pygit2 package is requesting re-compilation. Add: - * 0013-Prevent-crash-if-pygit2-package-is-requesting-re-com.patch -- Align OS grains from older SLES with the current one (bsc#975757) - Add: - * 0014-align-OS-grains-from-older-SLES-with-current-one-326.patch + * 0043-Prevent-crash-if-pygit2-package-is-requesting-re-com.patch ------------------------------------------------------------------- -Sat Apr 16 15:15:07 UTC 2016 - mc@suse.com +Mon Apr 18 10:24:56 CEST 2016 - mc@suse.de -- remove patches which produce duplicate functions: - Remove: - * 0004-implement-version_cmp-for-zypper.patch - * 0005-pylint-changes.patch - * 0006-Check-if-rpm-python-can-be-imported.patch -- remove patches which add and revert the same file - Remove: - * 0007-Initial-Zypper-Unit-Tests-and-bugfixes.patch - * 0009-Bugfix-on-SLE11-series-base-product-reported-as-addi.patch -- rename patches: - 0008-do-not-generate-a-date-in-a-comment-to-prevent-rebui.patch to - 0004-do-not-generate-a-date-in-a-comment-to-prevent-rebui.patch - 0010-Use-SHA256-hash-type-by-default.patch to - 0005-Use-SHA256-hash-type-by-default.patch - 0011-Update-to-2015.8.8.2.patch to - 0006-Update-to-2015.8.8.2.patch - 0012-Force-sort-the-RPM-output-to-ensure-latest-version-o.patch to - 0007-Force-sort-the-RPM-output-to-ensure-latest-version-o.patch - 0013-Cleaner-deprecation-process-with-decorators.patch to - 0008-Cleaner-deprecation-process-with-decorators.patch -- fix sorting by latest package +- align OS grains from older SLES with current one (bsc#975757) Add: - * 0009-fix-sorting-by-latest-version-when-called-with-an-at.patch -- Prevent metadata download when getting installed products - Add: - * 0010-Prevent-metadata-download-when-getting-installed-pro.patch -- Check if EOL is available in a particular product (bsc#975093) - Add: - * 0011-Check-if-EOL-is-available-in-a-particular-product-bs.patch + * 0042-align-OS-grains-from-older-SLES-with-current-one-bsc.patch + +------------------------------------------------------------------- +Thu Apr 14 07:23:47 UTC 2016 - bmaryniuk@suse.com + - Bugfix: salt-key crashes if tries to generate keys to the directory w/o write access (bsc#969320) Add: - * 0012-Bugfix-salt-key-crashes-if-tries-to-generate-keys-to.patch + * 0041-Bugfix-salt-key-crashes-if-tries-to-generate-keys-to.patch ------------------------------------------------------------------- -Thu Apr 7 10:25:36 UTC 2016 - bmaryniuk@suse.com +Tue Apr 12 12:34:40 UTC 2016 - bmaryniuk@suse.com -- Deprecation process using decorators and re-implementation - of status.update function. +- Check if EOL is available in a particular product (bsc#975093) Add: - * 0013-Cleaner-deprecation-process-with-decorators.patch + * 0040-Check-if-EOL-is-available-in-a-particular-product-bs.patch ------------------------------------------------------------------- -Fri Apr 1 19:19:10 UTC 2016 - aboe76@gmail.com +Tue Apr 5 13:05:49 UTC 2016 - mc@suse.com -- Reverted the fake 2015.8.8.2 patch, with the right one, -- this patch only contains: - - https://github.com/saltstack/salt/pull/32135 - - https://github.com/saltstack/salt/pull/32023 - - https://github.com/saltstack/salt/pull/32117 +- fix building with docs on SLE11 ------------------------------------------------------------------- -Fri Apr 1 12:16:10 UTC 2016 - bmaryniuk@suse.com +Tue Apr 5 11:19:02 UTC 2016 - mc@suse.com -- Ensure that in case of multi-packages installed on the system, - the latest is reported by pkg.info_installed (bsc#972490) +- Prevent metadata download when getting installed products Add: - * 0012-Force-sort-the-RPM-output-to-ensure-latest-version-o.patch + * 0039-Prevent-metadata-download-when-getting-installed-pro.patch ------------------------------------------------------------------- -Wed Mar 30 22:33:19 UTC 2016 - tampakrap@opensuse.org +Tue Apr 5 08:51:38 UTC 2016 - kkaempf@suse.com -- Update to the fake 2015.8.8.2 release - upstream released a bunch of fixes on top of 2015.8.8, without creating a new - tag and proper release. This commit includes all the changes between tag - v2015.8.8 and commit ID 596444e2b447b7378dbcdfeb9fc9610b90057745 which - introduces the fake 2015.8.8.2 release. - see https://docs.saltstack.com/en/latest/topics/releases/2015.8.8.html#salt-2015-8-8-2 +- Add statically built docs. ------------------------------------------------------------------- -Thu Mar 24 17:34:03 UTC 2016 - tampakrap@opensuse.org +Mon Apr 4 07:51:27 UTC 2016 - mc@suse.com -- Update to 2015.8.8 - see https://docs.saltstack.com/en/latest/topics/releases/2015.8.8.html - Patches renamed: - * 0004-implement-version_cmp-for-zypper.patch - * 0005-pylint-changes.patch - * 0006-Check-if-rpm-python-can-be-imported.patch - * 0007-Initial-Zypper-Unit-Tests-and-bugfixes.patch - * 0008-do-not-generate-a-date-in-a-comment-to-prevent-rebui.patch - * 0009-Bugfix-on-SLE11-series-base-product-reported-as-addi.patch - * 0010-Use-SHA256-hash-type-by-default.patch - Patches removed: - * 0004-Fix-pkg.latest-prevent-crash-on-multiple-package-ins.patch - * 0005-Fix-package-status-filtering-on-latest-version-and-i.patch - * 0006-add_key-reject_key-do-not-crash-w-Permission-denied-.patch - * 0007-Force-kill-websocket-s-child-processes-faster-than-d.patch - * 0008-Fix-types-in-the-output-data-and-return-just-a-list-.patch - * 0009-The-functions-in-the-state-module-that-return-a-retc.patch - * 0010-add-handling-for-OEM-products.patch - * 0011-improve-doc-for-list_pkgs.patch - * 0012-implement-version_cmp-for-zypper.patch - * 0013-pylint-changes.patch - * 0014-Check-if-rpm-python-can-be-imported.patch - * 0015-call-zypper-with-option-non-interactive-everywhere.patch - * 0016-write-a-zypper-command-builder-function.patch - * 0017-Fix-crash-with-scheduler-and-runners-31106.patch - * 0018-unify-behavior-of-refresh.patch - * 0019-add-refresh-option-to-more-functions.patch - * 0020-simplify-checking-the-refresh-paramater.patch - * 0021-do-not-change-kwargs-in-refresh-while-checking-a-val.patch - * 0022-fix-argument-handling-for-pkg.download.patch - * 0023-Initial-Zypper-Unit-Tests-and-bugfixes.patch - * 0024-proper-checking-if-zypper-exit-codes-and-handling-of.patch - * 0025-adapt-tests-to-new-zypper_check_result-output.patch - * 0026-do-not-generate-a-date-in-a-comment-to-prevent-rebui.patch - * 0027-make-suse-check-consistent-with-rh_service.patch - * 0028-fix-numerical-check-of-osrelease.patch - * 0029-Make-use-of-checksum-configurable-defaults-to-MD5-SH.patch - * 0030-Bugfix-on-SLE11-series-base-product-reported-as-addi.patch - * 0031-Only-use-LONGSIZE-in-rpm.info-if-available.-Otherwis.patch - * 0032-Add-error-check-when-retcode-is-0-but-stderr-is-pres.patch - * 0033-fixing-init-system-dectection-on-sles-11-refs-31617.patch - * 0034-Fix-git_pillar-race-condition.patch - * 0035-Fix-the-always-false-behavior-on-checking-state.patch - * 0036-Use-SHA256-hash-type-by-default.patch +- fix sorting by latest package + Add: + * 0038-fix-sorting-by-latest-version-when-called-with-an-at.patch + +------------------------------------------------------------------- +Sat Apr 2 12:55:57 UTC 2016 - mc@suse.com + +- ensure pkg.info_installed report latest package version + (bsc#972490) + Add: + * 0037-Force-sort-the-RPM-output-to-ensure-latest-version-o.patch ------------------------------------------------------------------- Thu Mar 17 12:09:14 UTC 2016 - bmaryniuk@suse.com @@ -2603,4 +2889,4 @@ Tue Jan 22 17:53:39 UTC 2013 - aboe76@gmail.com ------------------------------------------------------------------- Wed Jan 16 06:38:40 UTC 2013 - aboe76@gmail.com -- uploaded to salt 0.12.0 +- uploaded to salt 1.12.0 diff --git a/salt.spec b/_service:extract_file:salt.spec similarity index 87% rename from salt.spec rename to _service:extract_file:salt.spec index ca45e89..bb17c17 100644 --- a/salt.spec +++ b/_service:extract_file:salt.spec @@ -1,7 +1,7 @@ # # spec file for package salt # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,7 +21,7 @@ %else %bcond_with systemd %endif -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%{!?python3_sitelib: %global python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %if 0%{?suse_version} > 1110 %bcond_without bash_completion %bcond_without fish_completion @@ -42,64 +42,59 @@ Summary: A parallel remote execution system License: Apache-2.0 Group: System/Management Url: http://saltstack.org/ -Source: https://github.com/saltstack/salt/archive/v%{version}.tar.gz +# Git: https://github.com/openSUSE/salt.git +Source0: salt-2017.7.2.tar.gz Source1: README.SUSE Source2: salt-tmpfiles.d Source3: html.tar.bz2 Source4: update-documentation.sh Source5: travis.yml +Source6: zyppnotify -# PATCH-FIX_UPSTREAM https://github.com/saltstack/salt/pull/42310 -# https://github.com/saltstack/salt/pull/42718 -# https://github.com/saltstack/salt/pull/43195 -# https://github.com/saltstack/salt/pull/43214 -# https://github.com/saltstack/salt/pull/43281 Patch1: list_pkgs-add-parameter-for-returned-attribute-selec.patch -# PATCH-FIX_UPSTREAM https://github.com/saltstack/salt/pull/43441 -Patch2: use-home-to-get-the-user-home-directory-instead-usin.patch -# PATCH-FIX_UPSTREAM https://github.com/saltstack/salt/pull/43663 +Patch2: use-home-to-get-the-user-home-directory-instead-usin.patch Patch3: multiprocessing-minion-option-documentation-fixes.patch -# PATCH-FIX_UPSTREAM https://github.com/saltstack/salt/pull/43669 Patch4: introduce-process_count_max-minion-configuration-par.patch -# PATCH-FIX_UPSTREAM https://github.com/saltstack/salt/pull/ Patch5: bugfix-always-return-a-string-list-on-unknown-job-ta.patch -# PATCH-FIX_UPSTREAM https://github.com/saltstack/salt/pull/43955 Patch6: enable-with-salt-version-parameter-for-setup.py-scri.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildRequires: logrotate -BuildRequires: python -BuildRequires: python-devel +BuildRequires: python3 +BuildRequires: python3-devel # requirements/base.txt %if 0%{?rhel} -BuildRequires: python-jinja2 +BuildRequires: python3-jinja2 %else -BuildRequires: python-Jinja2 +BuildRequires: python3-Jinja2 %endif -BuildRequires: python-futures >= 2.0 -BuildRequires: python-markupsafe -BuildRequires: python-msgpack-python > 0.3 -BuildRequires: python-psutil -BuildRequires: python-requests >= 1.0.0 -BuildRequires: python-tornado >= 4.2.1 -BuildRequires: python-yaml +BuildRequires: python3-futures >= 2.0 +BuildRequires: python3-MarkupSafe +BuildRequires: python3-msgpack-python > 0.3 +BuildRequires: python3-psutil +BuildRequires: python3-requests >= 1.0.0 +BuildRequires: python3-tornado >= 4.2.1 +BuildRequires: python3-PyYAML # requirements/zeromq.txt -BuildRequires: python-pycrypto >= 2.6.1 -BuildRequires: python-pyzmq >= 2.2.0 +BuildRequires: python3-pycrypto >= 2.6.1 +BuildRequires: python3-pyzmq >= 2.2.0 %if %{with test} # requirements/dev_python27.txt -BuildRequires: python-boto >= 2.32.1 -BuildRequires: python-mock -BuildRequires: python-moto >= 0.3.6 -BuildRequires: python-pip -BuildRequires: python-salt-testing >= 2015.2.16 -BuildRequires: python-unittest2 -BuildRequires: python-xml +BuildRequires: python3-boto >= 2.32.1 +BuildRequires: python3-mock +BuildRequires: python3-moto >= 0.3.6 +BuildRequires: python3-pip +BuildRequires: python3-salt-testing >= 2015.2.16 +BuildRequires: python3-unittest2 +BuildRequires: python3-xml %endif %if %{with builddocs} -BuildRequires: python-sphinx +BuildRequires: python3-sphinx +%endif +%if 0%{?suse_version} > 1020 +BuildRequires: fdupes %endif Requires(pre): %{_sbindir}/groupadd @@ -116,49 +111,49 @@ Requires(pre): dbus-1 Requires(pre): dbus %endif -Requires: logrotate Requires: procps -Requires: python +Requires: logrotate +Requires: python3 # %if ! 0%{?suse_version} > 1110 -Requires: python-certifi +Requires: python3-certifi %endif # requirements/base.txt %if 0%{?rhel} -Requires: python-jinja2 -Requires: yum +Requires: python3-jinja2 +Requires: yum %if 0%{?rhel} == 6 -Requires: yum-plugin-security +Requires: yum-plugin-security %endif %else -Requires: python-Jinja2 +Requires: python3-Jinja2 %endif -Requires: python-futures >= 2.0 -Requires: python-markupsafe -Requires: python-msgpack-python > 0.3 -Requires: python-psutil -Requires: python-requests >= 1.0.0 -Requires: python-tornado >= 4.2.1 -Requires: python-yaml +Requires: python3-futures >= 2.0 +Requires: python3-MarkupSafe +Requires: python3-msgpack-python > 0.3 +Requires: python3-psutil +Requires: python3-requests >= 1.0.0 +Requires: python3-tornado >= 4.2.1 +Requires: python3-PyYAML %if 0%{?suse_version} # required for zypper.py -Requires: rpm-python +Requires: python3-rpm Requires(pre): libzypp(plugin:system) >= 0 -Requires: zypp-plugin-python +Requires: python3-zypp-plugin # requirements/opt.txt (not all) # Suggests: python-MySQL-python ## Disabled for now, originally Recommended -Suggests: python-timelib -Suggests: python-gnupg +Suggests: python3-timelib +Suggests: python3-gnupg # requirements/zeromq.txt %endif -Requires: python-pycrypto >= 2.6.1 -Requires: python-pyzmq >= 2.2.0 +Requires: python3-pycrypto >= 2.6.1 +Requires: python3-pyzmq >= 2.2.0 # %if 0%{?suse_version} # python-xml is part of python-base in all rhel versions -Requires: python-xml -Suggests: python-Mako -Recommends: python-netaddr +Requires: python3-xml +Suggests: python3-Mako +Recommends: python3-netaddr %endif %if %{with systemd} @@ -204,7 +199,7 @@ Summary: The api for Salt a parallel remote execution system Group: System/Management Requires: %{name} = %{version}-%{release} Requires: %{name}-master = %{version}-%{release} -Requires: python-CherryPy >= 3.2.2 +Requires: python3-CherryPy >= 3.2.2 %description api salt-api is a modular interface on top of Salt that can provide a variety of entry points into a running Salt system. @@ -214,10 +209,10 @@ Summary: Generic cloud provisioning tool for Saltstack Group: System/Management Requires: %{name} = %{version}-%{release} Requires: %{name}-master = %{version}-%{release} -Requires: python-apache-libcloud +Requires: python3-apache-libcloud %if 0%{?suse_version} -Recommends: python-botocore -Recommends: python-netaddr +Recommends: python3-botocore +Recommends: python3-netaddr %endif %description cloud @@ -240,7 +235,7 @@ Summary: The management component of Saltstack with zmq protocol supporte Group: System/Management Requires: %{name} = %{version}-%{release} %if 0%{?suse_version} -Recommends: python-pygit2 >= 0.20.3 +Recommends: python3-pygit2 >= 0.20.3 %endif %ifarch %{ix86} x86_64 %if 0%{?suse_version} @@ -402,7 +397,7 @@ Zsh command line completion support for %{name}. %setup -q -n salt-%{version} cp %{S:1} . cp %{S:5} ./.travis.yml - +cp %{S:6} ./zyppnotify %patch1 -p1 %patch2 -p1 %patch3 -p1 @@ -411,14 +406,13 @@ cp %{S:5} ./.travis.yml %patch6 -p1 %build -%{__python} setup.py --with-salt-version=%{version} --salt-transport=both build -cp ./build/lib/salt/_version.py ./salt +%{__python3} setup.py --salt-transport=both build %if %{with docs} && %{without builddocs} # extract docs from the tarball mkdir -p doc/_build pushd doc/_build/ -tar -xvf %{S:3} +tar xfv %{S:3} popd %endif @@ -428,7 +422,7 @@ cd doc && make html && rm _build/html/.buildinfo && rm _build/html/_images/proxy %endif %install -%{__python} setup.py --salt-transport=both install --prefix=%{_prefix} --root=%{buildroot} +%{__python3} setup.py --salt-transport=both install --prefix=%{_prefix} --root=%{buildroot} ## create missing directories install -Dd -m 0750 %{buildroot}%{_sysconfdir}/salt/master.d install -Dd -m 0750 %{buildroot}%{_sysconfdir}/salt/minion.d @@ -471,24 +465,24 @@ install -Dd -m 0750 %{buildroot}%{_sysconfdir}/salt/pki/minion ## Install Zypper plugins only on SUSE machines %if 0%{?suse_version} install -Dd -m 0750 %{buildroot}%{_prefix}/lib/zypp/plugins/commit -install scripts/suse/zypper/plugins/commit/zyppnotify %{buildroot}%{_prefix}/lib/zypp/plugins/commit/zyppnotify +%{__install} zyppnotify %{buildroot}%{_prefix}/lib/zypp/plugins/commit/zyppnotify %endif # Install Yum plugins only on RH machines %if 0%{?fedora} || 0%{?rhel} install -Dd %{buildroot}%{_prefix}/share/yum-plugins install -Dd %{buildroot}/etc/yum/pluginconf.d -install scripts/suse/yum/plugins/yumnotify.py %{buildroot}%{_prefix}/share/yum-plugins -install scripts/suse/yum/plugins/yumnotify.conf %{buildroot}/etc/yum/pluginconf.d +%{__install} scripts/yum/plugins/yumnotify.py %{buildroot}%{_prefix}/share/yum-plugins +%{__install} scripts/yum/plugins/yumnotify.conf %{buildroot}/etc/yum/pluginconf.d %endif ## install init and systemd scripts %if %{with systemd} -install -Dpm 0644 pkg/suse/salt-master.service %{buildroot}%{_unitdir}/salt-master.service +install -Dpm 0644 pkg/salt-master.service %{buildroot}%{_unitdir}/salt-master.service %if 0%{?suse_version} install -Dpm 0644 pkg/suse/salt-minion.service %{buildroot}%{_unitdir}/salt-minion.service %else -install -Dpm 0644 pkg/suse/salt-minion.service.rhel7 %{buildroot}%{_unitdir}/salt-minion.service +install -Dpm 0644 pkg/salt-minion.service.rhel7 %{buildroot}%{_unitdir}/salt-minion.service %endif install -Dpm 0644 pkg/salt-syndic.service %{buildroot}%{_unitdir}/salt-syndic.service install -Dpm 0644 pkg/suse/salt-api.service %{buildroot}%{_unitdir}/salt-api.service @@ -513,7 +507,7 @@ ln -sf %{_initddir}/salt-api %{buildroot}%{_sbindir}/rcsalt-api ## Install sysV salt-minion watchdog for SLES11 and RHEL6 %if 0%{?rhel} == 6 || 0%{?suse_version} == 1110 -install -Dpm 0755 scripts/suse/watchdog/salt-daemon-watcher %{buildroot}%{_bindir}/salt-daemon-watcher +install -Dpm 0755 scripts/watchdog/salt-daemon-watcher %{buildroot}%{_bindir}/salt-daemon-watcher %endif # @@ -526,12 +520,8 @@ install -Dpm 0640 conf/cloud %{buildroot}%{_sysconfdir}/salt/cloud install -Dpm 0640 conf/cloud.profiles %{buildroot}%{_sysconfdir}/salt/cloud.profiles install -Dpm 0640 conf/cloud.providers %{buildroot}%{_sysconfdir}/salt/cloud.providers # -## install logrotate file (for RHEL6 we use without sudo) -%if 0%{?rhel} > 6 || 0%{?suse_version} -install -Dpm 0644 pkg/suse/salt-common.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/salt -%else +## install logrotate file install -Dpm 0644 pkg/salt-common.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/salt -%endif # ## install SuSEfirewall2 rules install -Dpm 0644 pkg/suse/salt.SuSEfirewall2 %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/salt @@ -550,21 +540,22 @@ install -Dpm 0644 pkg/fish-completions/* %{buildroot}%{fish_completions_dir} %endif %if 0%{?suse_version} > 1020 -%fdupes %{buildroot}/%{_prefix} +%fdupes %{buildroot}%{_docdir} +%fdupes %{buildroot}%{python3_sitelib} %endif %check %if %{with test} -python setup.py test --runtests-opts=-u +python3 setup.py test --runtests-opts=-u %endif %pre S_HOME="/var/lib/salt" S_PHOME="/srv/salt" -getent passwd salt | grep -q $S_PHOME && usermod -d $S_HOME salt +getent passwd salt | grep $S_PHOME >/dev/null && usermod -d $S_HOME salt getent group salt >/dev/null || %{_sbindir}/groupadd -r salt getent passwd salt >/dev/null || %{_sbindir}/useradd -r -g salt -d $S_HOME -s /bin/false -c "salt-master daemon" salt -if [ -d "$S_PHOME/.ssh" ]; then +if [[ -d "$S_PHOME/.ssh" ]]; then mv $S_PHOME/.ssh $S_HOME fi @@ -879,8 +870,8 @@ fi %config(noreplace) %attr(0640, root, salt) %{_sysconfdir}/salt/cloud.profiles %config(noreplace) %attr(0640, root, salt) %{_sysconfdir}/salt/cloud.providers %dir %attr(0750, root, salt) %{_localstatedir}/cache/salt/cloud -%{python_sitelib}/salt/cloud/deploy/bootstrap-salt.sh -%attr(755,root,root)%{python_sitelib}/salt/cloud/deploy/bootstrap-salt.sh +%{python3_sitelib}/salt/cloud/deploy/bootstrap-salt.sh +%attr(755,root,root)%{python3_sitelib}/salt/cloud/deploy/bootstrap-salt.sh %{_mandir}/man1/salt-cloud.1.* %files ssh @@ -991,9 +982,9 @@ fi %{_mandir}/man1/salt-call.1.gz %{_mandir}/man1/spm.1.gz %config(noreplace) %{_sysconfdir}/logrotate.d/salt -%{python_sitelib}/* -%exclude %{python_sitelib}/salt/cloud/deploy/*.sh -%attr(755,root,root)%{python_sitelib}/salt/cloud/deploy/*.sh +%{python3_sitelib}/* +%exclude %{python3_sitelib}/salt/cloud/deploy/*.sh +%attr(755,root,root)%{python3_sitelib}/salt/cloud/deploy/*.sh %doc LICENSE AUTHORS README.rst HACKING.rst README.SUSE # %dir %attr(0750, root, salt) %{_sysconfdir}/salt diff --git a/travis.yml b/_service:extract_file:travis.yml similarity index 100% rename from travis.yml rename to _service:extract_file:travis.yml diff --git a/_service:extract_file:update-documentation.sh b/_service:extract_file:update-documentation.sh new file mode 100644 index 0000000..0f35957 --- /dev/null +++ b/_service:extract_file:update-documentation.sh @@ -0,0 +1,64 @@ +#!/bin/bash +# +# Update html.tar.bz2 documentation tarball +# Author: Bo Maryniuk +# + +function check_env() { + for cmd in "sphinx-build" "make" "quilt"; do + if [ -z "$(which $cmd 2>/dev/null)" ]; then + echo "Error: '$cmd' is missing." + exit 1; + fi + done +} + +function quilt_setup() { + quilt setup salt.spec + cd $1 + quilt push -a +} + +function build_docs() { + cd $1 + make html + rm _build/html/.buildinfo + cd _build/html + chmod -R -x+X * + cd .. + tar cvf - html | bzip2 > /tmp/html.tar.bz2 +} + +function write_changelog() { + mv salt.changes salt.changes.previous + TIME=$(date -u +'%a %b %d %T %Z %Y') + MAIL=$1 + SEP="-------------------------------------------------------------------" + cat < salt.changes +$SEP +$TIME - $MAIL + +- Updated html.tar.bz2 documentation tarball. + +EOF + cat salt.changes.previous >> salt.changes + rm salt.changes.previous +} + +if [ -z "$1" ]; then + echo "Usage: $0 " + exit 1; +fi + +check_env; +START=$(pwd) +SRC_DIR="salt-$(cat salt.spec | grep ^Version: | cut -d: -f2 | sed -e 's/[[:blank:]]//g')"; +quilt_setup $SRC_DIR +build_docs doc + +cd $START +rm -rf $SRC_DIR +mv /tmp/html.tar.bz2 $START + +echo "Done" +echo "---------------" diff --git a/use-home-to-get-the-user-home-directory-instead-usin.patch b/_service:extract_file:use-home-to-get-the-user-home-directory-instead-usin.patch similarity index 83% rename from use-home-to-get-the-user-home-directory-instead-usin.patch rename to _service:extract_file:use-home-to-get-the-user-home-directory-instead-usin.patch index b7df7a5..58650bf 100644 --- a/use-home-to-get-the-user-home-directory-instead-usin.patch +++ b/_service:extract_file:use-home-to-get-the-user-home-directory-instead-usin.patch @@ -1,8 +1,8 @@ -From 2dfd28560f3825dc512822ba9d01d67070d5175b Mon Sep 17 00:00:00 2001 +From 418bcf80ca263c5523e701801e97bae60fdf9b35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Su=C3=A1rez=20Hern=C3=A1ndez?= Date: Mon, 11 Sep 2017 19:57:28 +0200 -Subject: [PATCH] Use $HOME to get the user home directory instead using +Subject: [PATCH 2/6] Use $HOME to get the user home directory instead using '~' char --- @@ -24,6 +24,5 @@ index 480361fe23..00174c072f 100644 if [ ! -d "$(dirname ${_salt_cache_functions})" ]; then -- -2.12.2 - +2.14.2 diff --git a/_service:extract_file:zyppnotify b/_service:extract_file:zyppnotify new file mode 100644 index 0000000..e3f19a4 --- /dev/null +++ b/_service:extract_file:zyppnotify @@ -0,0 +1,59 @@ +#!/usr/bin/python +# +# Copyright (c) 2016 SUSE Linux LLC +# All Rights Reserved. +# +# Author: Bo Maryniuk + +import sys +import os +import hashlib + +from zypp_plugin import Plugin + + +class DriftDetector(Plugin): + """ + Return diff of the installed packages outside the Salt. + """ + def __init__(self): + Plugin.__init__(self) + self.ck_path = "/var/cache/salt/minion/rpmdb.cookie" + self.rpm_path = "/var/lib/rpm/Packages" + + def _get_mtime(self): + ''' + Get the modified time of the RPM Database. + Returns: + Unix ticks + ''' + return os.path.exists(self.rpm_path) and int(os.path.getmtime(self.rpm_path)) or 0 + + def _get_checksum(self): + ''' + Get the checksum of the RPM Database. + Returns: + hexdigest + ''' + digest = hashlib.md5() + with open(self.rpm_path, "rb") as rpm_db_fh: + while True: + buff = rpm_db_fh.read(0x1000) + if not buff: + break + digest.update(buff) + + return digest.hexdigest() + + def PLUGINEND(self, headers, body): + """ + Hook when plugin closes Zypper's transaction. + """ + if 'SALT_RUNNING' not in os.environ: + with open(self.ck_path, 'w') as ck_fh: + ck_fh.write('{chksum} {mtime}\n'.format(chksum=self._get_checksum(), mtime=self._get_mtime())) + + self.ack() + + +DriftDetector().main() diff --git a/_service:tar_scm:package-1510227540.833ce8accd.tar b/_service:tar_scm:package-1510227540.833ce8accd.tar new file mode 100644 index 0000000..77bd33c --- /dev/null +++ b/_service:tar_scm:package-1510227540.833ce8accd.tar @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:015fd10afd3c52128ee5e9d861df10e04fff8c76053ba3fb118187c034e9e2d5 +size 67747840 diff --git a/html.tar.bz2 b/html.tar.bz2 deleted file mode 100644 index e7d375f..0000000 --- a/html.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6b82846ed4005af7655290cd9bdc62c1d4912d4809acaca2ff37ebff0960b18c -size 1250836 diff --git a/update-documentation.sh b/update-documentation.sh deleted file mode 100644 index f0e66f4..0000000 --- a/update-documentation.sh +++ /dev/null @@ -1,100 +0,0 @@ -#!/bin/bash -# -# Update html.tar.bz2 documentation tarball -# Author: Bo Maryniuk -# - -NO_SPHINX_PARAM="--without-sphinx" - -function build_virtenv() { - virtualenv --system-site-packages $1 - source $1/bin/activate - pip install --upgrade pip - if [ -z "$2" ]; then - pip install -I Sphinx - fi -} - -function check_env() { - if [[ -z "$1" || "$1" != "$NO_SPHINX_PARAM" ]] && [ ! -z "$(which sphinx-build 2>/dev/null)" ]; then - cat </dev/null)" ]; then - echo "Error: '$cmd' is still missing. Install it, please." - exit 1; - fi - done -} - -function quilt_setup() { - quilt setup salt.spec - cd $1 - quilt push -a -} - -function build_docs() { - cd $1 - make html - rm _build/html/.buildinfo - cd _build/html - chmod -R -x+X * - cd .. - tar cvf - html | bzip2 > $2/html.tar.bz2 -} - -function write_changelog() { - mv salt.changes salt.changes.previous - TIME=$(date -u +'%a %b %d %T %Z %Y') - MAIL=$1 - SEP="-------------------------------------------------------------------" - cat < salt.changes -$SEP -$TIME - $MAIL - -- Updated html.tar.bz2 documentation tarball. - -EOF - cat salt.changes.previous >> salt.changes - rm salt.changes.previous -} - -if [ -z "$1" ]; then - echo "Usage: $0 [--without-sphinx]" - exit 1; -fi - -check_env $2; - -START=$(pwd) -V_ENV="sphinx_doc_gen" -V_TMP=$(mktemp -d) - -for f in "salt.spec" "salt*tar.gz"; do - cp -v $f $V_TMP -done - -cd $V_TMP; -build_virtenv $V_ENV $2; - -SRC_DIR="salt-$(cat salt.spec | grep ^Version: | cut -d: -f2 | sed -e 's/[[:blank:]]//g')"; -quilt_setup $SRC_DIR -build_docs doc $V_TMP - -cd $START -mv $V_TMP/html.tar.bz2 $START -rm -rf $V_TMP - -echo "Done" -echo "---------------" diff --git a/v2017.7.2.tar.gz b/v2017.7.2.tar.gz deleted file mode 100644 index b757ea3..0000000 --- a/v2017.7.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b9f9dd9ddd129ddadadf963178383b50c32283aeb1c338d9c23cc01b11722db2 -size 11483585