File 0020-Setting-up-OS-grains-for-SLES-Expanded-Support-SUSE-.patch of Package salt
From c47b7740f65e72a9c4801c7f0d092595d9276ffc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pablo=20Su=C3=A1rez=20Hern=C3=A1ndez?=
<psuarezhernandez@suse.com>
Date: Fri, 30 Sep 2016 13:06:52 +0100
Subject: [PATCH 20/38] Setting up OS grains for SLES Expanded Support (SUSE's
Red Hat compatible platform)
core.py: quote style fixed
---
salt/grains/core.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/salt/grains/core.py b/salt/grains/core.py
index ad874c6..9d76b2c 100644
--- a/salt/grains/core.py
+++ b/salt/grains/core.py
@@ -931,6 +931,7 @@ _OS_NAME_MAP = {
'manjaro': 'Manjaro',
'sles': 'SUSE',
'linuxmint': 'Mint',
+ 'slesexpand': 'RES'
}
# Map the 'os' grain to the 'os_family' grain
@@ -949,6 +950,7 @@ _OS_FAMILY_MAP = {
'OEL': 'RedHat',
'XCP': 'RedHat',
'XenServer': 'RedHat',
+ 'RES': 'RedHat',
'Mandrake': 'Mandriva',
'ESXi': 'VMWare',
'Mint': 'Debian',
--
2.10.2