summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-11-06 14:23:21 -0800
committerGitHub <noreply@github.com>2016-11-06 14:23:21 -0800
commit544b147370e63544188158739102dc00942a2499 (patch)
treeb9a639486ec84dd7e62e413819d64d576b74bcc3
parent6f2c05b888a410366b9fc8e7d0e92895bcd1cff9 (diff)
downloadspack-544b147370e63544188158739102dc00942a2499.tar.gz
spack-544b147370e63544188158739102dc00942a2499.tar.bz2
spack-544b147370e63544188158739102dc00942a2499.tar.xz
spack-544b147370e63544188158739102dc00942a2499.zip
Add detection for redhat enterprise server to distro.py (#2262)
-rw-r--r--lib/spack/external/distro.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/spack/external/distro.py b/lib/spack/external/distro.py
index 0fa183ec22..091bba3db8 100644
--- a/lib/spack/external/distro.py
+++ b/lib/spack/external/distro.py
@@ -60,7 +60,8 @@ NORMALIZED_OS_ID = {}
#: * Value: Normalized value.
NORMALIZED_LSB_ID = {
'enterpriseenterprise': 'oracle', # Oracle Enterprise Linux
- 'redhatenterpriseworkstation': 'rhel', # RHEL 6.7
+ 'redhatenterpriseworkstation': 'rhel', # RHEL 6, 7 Workstation
+ 'redhatenterpriseserver': 'rhel', # RHEL 6, 7 Server
}
#: Translation table for normalizing the distro ID derived from the file name