Merge pull request #3750 from giantlock/develop

fix conflict with rpm module
This commit is contained in:
Thomas S Hatch 2013-02-16 11:42:38 -08:00
commit 5a32e5a9ad

View File

@ -666,6 +666,7 @@ def os_data():
grains['os'] = grains['kernel']
if grains['kernel'] in ('FreeBSD', 'OpenBSD'):
grains.update(_bsd_cpudata(grains))
grains['osrelease'] = grains['kernelrelease'].split('-')[0]
if not grains['os']:
grains['os'] = 'Unknown {0}'.format(grains['kernel'])
grains['os_family'] = 'Unknown'