mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Revert commit fb763d
This commit completely breaks the salt-master on all non-Linux systems:
fb763d91e8
Why?
_hw_data(osdata) is called before `osdata` includes the key 'kernel', resulting
in a KeyError. Steps to reproduce:
(saltenv) $ salt-master -l debug
This commit is contained in:
parent
f7f7b987b3
commit
a3bf714c74
@ -484,7 +484,6 @@ def _virtual(osdata):
|
||||
# virtual
|
||||
# virtual_subtype
|
||||
grains = {'virtual': 'physical'}
|
||||
grains.update(_hw_data(grains))
|
||||
|
||||
# Skip the below loop on platforms which have none of the desired cmds
|
||||
# This is a temporary measure until we can write proper virtual hardware
|
||||
|
Loading…
Reference in New Issue
Block a user