36 lines
927 B
Diff
36 lines
927 B
Diff
|
From 84bacc068ff10b33b5bd984459d6cfb73b1bf2c9 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 13/17] 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 867924a..12a2959 100644
|
||
|
--- a/salt/grains/core.py
|
||
|
+++ b/salt/grains/core.py
|
||
|
@@ -1038,6 +1038,7 @@ _OS_NAME_MAP = {
|
||
|
'manjaro': 'Manjaro',
|
||
|
'antergos': 'Antergos',
|
||
|
'sles': 'SUSE',
|
||
|
+ 'slesexpand': 'RES',
|
||
|
'linuxmint': 'Mint',
|
||
|
}
|
||
|
|
||
|
@@ -1057,6 +1058,7 @@ _OS_FAMILY_MAP = {
|
||
|
'OEL': 'RedHat',
|
||
|
'XCP': 'RedHat',
|
||
|
'XenServer': 'RedHat',
|
||
|
+ 'RES': 'RedHat',
|
||
|
'Mandrake': 'Mandriva',
|
||
|
'ESXi': 'VMWare',
|
||
|
'Mint': 'Debian',
|
||
|
--
|
||
|
2.10.1
|
||
|
|