mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 16:45:27 +00:00
Revert os and os_family grains back to MacOS
This commit is contained in:
parent
486be7c78c
commit
613694530f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user