Merge pull request #24873 from jfindlay/rh_service

convert osrelease grain to str before str op
This commit is contained in:
Thomas S Hatch 2015-06-24 10:43:07 -06:00
commit 4e8ed0d8ed

View file

@ -58,7 +58,7 @@ def __virtual__():
))
if __grains__['os'] in enable:
if __grains__['os'] == 'SUSE':
if __grains__['osrelease'].startswith('11'):
if str(__grains__['osrelease']).startswith('11'):
return __virtualname__
else:
return False