Commit graph

6 commits

Author SHA1 Message Date
Pedro Algarvio
1f08a3c191 Bump functional test splits to 4 2024-03-25 09:06:36 -07:00
Tyler Levy Conde
65e5c4f227 Fix: Prevent full system upgrade in pkg.installed for Arch Linux
This change modifies the logic in the pacman module to only append the '-u' flag to the pacman command if sysupgrade is explicitly set to True. This prevents the pkg.installed state from triggering a full system upgrade by default on Arch Linux systems.
2024-03-25 09:06:36 -07:00
Pedro Algarvio
03ad4c6337 Update code to be Py3.7+ to reduce merge forward conflicts 2024-02-29 10:16:58 +00:00
Pedro Algarvio
3dea2eb541 Update pre-commit hook versions 2024-02-29 10:16:58 +00:00
Pedro Algarvio
4d49013247 Update to isort 5.10.1
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2022-08-01 12:49:16 -06:00
Gareth J. Greenaway
8ebc975471
Updates to pkg beacon, fire when installed or removed (#59463)
* Updating the pkg beacon to fire the events when there are upgrades to packages, but also when watched packages are installed or removed. Breaking out the logic for listing pkgs from context into a separate function to aid in testing. Updating tests to ensure context is not used when use_context option to list_pkgs is False.  saltstack/salt-enhancement-proposals#39

* Adding changelog file

* Converting tests to pytest.

* removing self from tests.pytests.unit.modules.test_yumpkg.test_pkg_hold_tdnf

* swapping global variables for pytest fixtures.

* Running pre-commit manually against salt/modules/pkgng.py salt/modules/freebsdpkg.py
2021-02-16 11:16:39 -05:00