fix the os grain in sle11sp4 to be SUSE instead of SLES

due to the existence of /etc/os-release on SLE11SP4, the os grain between
SLE11SP3 and SLE11SP4 was different (SLES vs SUSE). Thus, it was falsely trying
to use systemd on SLE11SP4 to start services
This commit is contained in:
Theo Chatzimichos 2015-11-13 13:25:55 +01:00 committed by rallytime
parent a45ce78e20
commit baf238f270

View file

@ -932,6 +932,7 @@ _OS_NAME_MAP = {
'scientific': 'ScientificLinux',
'synology': 'Synology',
'manjaro': 'Manjaro',
'sles': 'SUSE',
}
# Map the 'os' grain to the 'os_family' grain