Merge pull request #30942 from rallytime/bp-30897

Back-port #30897 to 2015.5
This commit is contained in:
Mike Place 2016-02-05 12:00:55 -07:00
commit c7f87cc371

View file

@ -879,7 +879,7 @@ def id_():
'''
return {'id': __opts__.get('id', '')}
_REPLACE_LINUX_RE = re.compile(r'linux', re.IGNORECASE)
_REPLACE_LINUX_RE = re.compile(r'\Wlinux', re.IGNORECASE)
# This maps (at most) the first ten characters (no spaces, lowercased) of
# 'osfullname' to the 'os' grain that Salt traditionally uses.