2020-04-07 14:14:01 +02:00
|
|
|
From e57dd3c2ae655422f0f6939825154ce5827d43c4 Mon Sep 17 00:00:00 2001
|
2018-07-30 13:52:13 +02:00
|
|
|
From: =?UTF-8?q?Pablo=20Su=C3=A1rez=20Hern=C3=A1ndez?=
|
|
|
|
<psuarezhernandez@suse.com>
|
|
|
|
Date: Thu, 21 Jun 2018 11:57:57 +0100
|
|
|
|
Subject: [PATCH] Add custom SUSE capabilities as Grains
|
|
|
|
|
|
|
|
---
|
|
|
|
salt/grains/extra.py | 7 +++++++
|
|
|
|
1 file changed, 7 insertions(+)
|
|
|
|
|
|
|
|
diff --git a/salt/grains/extra.py b/salt/grains/extra.py
|
2020-04-07 14:14:01 +02:00
|
|
|
index 9ce644b766..1082b05dba 100644
|
2018-07-30 13:52:13 +02:00
|
|
|
--- a/salt/grains/extra.py
|
|
|
|
+++ b/salt/grains/extra.py
|
|
|
|
@@ -75,3 +75,10 @@ def config():
|
|
|
|
log.warning("Bad syntax in grains file! Skipping.")
|
|
|
|
return {}
|
|
|
|
return {}
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+def suse_backported_capabilities():
|
|
|
|
+ return {
|
|
|
|
+ '__suse_reserved_pkg_all_versions_support': True,
|
|
|
|
+ '__suse_reserved_pkg_patches_support': True
|
|
|
|
+ }
|
|
|
|
--
|
2019-11-28 16:41:55 +01:00
|
|
|
2.16.4
|
2018-07-30 13:52:13 +02:00
|
|
|
|
|
|
|
|