Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP1:Update
salt.26880
add-custom-suse-capabilities-as-grains.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File add-custom-suse-capabilities-as-grains.patch of Package salt.26880
From 1c20e6e1acf21d301d6e53432afaa7cc42db2380 Mon Sep 17 00:00:00 2001 From: Alexander Graul <agraul@suse.com> Date: Tue, 18 Jan 2022 12:59:43 +0100 Subject: [PATCH] Add custom SUSE capabilities as Grains Add new custom SUSE capability for saltutil state module --- salt/grains/extra.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/salt/grains/extra.py b/salt/grains/extra.py index 300052f1ee..f2504dbf19 100644 --- a/salt/grains/extra.py +++ b/salt/grains/extra.py @@ -96,3 +96,11 @@ def uefi(): def transactional(): """Determine if the system is transactional.""" return {"transactional": bool(salt.utils.path.which("transactional-update"))} + + +def suse_backported_capabilities(): + return { + '__suse_reserved_pkg_all_versions_support': True, + '__suse_reserved_pkg_patches_support': True, + '__suse_reserved_saltutil_states_support': True + } -- 2.34.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor