Revert os and os_family grains back to MacOS

This commit is contained in:
twangboy 2016-01-29 10:16:16 -07:00
parent 486be7c78c
commit 613694530f

View File

@ -1389,8 +1389,8 @@ def os_data():
osrelease = __salt__['cmd.run']('sw_vers -productVersion')
osname = __salt__['cmd.run']('sw_vers -productName')
osbuild = __salt__['cmd.run']('sw_vers -buildVersion')
grains['os'] = 'Mac'
grains['os_family'] = 'Darwin'
grains['os'] = 'MacOS'
grains['os_family'] = 'MacOS'
grains['osfullname'] = "{0} {1}".format(osname, osrelease)
grains['osrelease'] = osrelease
grains['osbuild'] = osbuild