Skip to content

Commit

Permalink
Revert commit fb763d
Browse files Browse the repository at this point in the history
This commit completely breaks the salt-master on all non-Linux systems:

fb763d9

Why?

_hw_data(osdata) is called before `osdata` includes the key 'kernel', resulting
in a KeyError.  Steps to reproduce:

(saltenv) $ salt-master -l debug
  • Loading branch information
eradman committed Nov 11, 2016
1 parent f7f7b98 commit a3bf714
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion salt/grains/core.py
Expand Up @@ -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
Expand Down

0 comments on commit a3bf714

Please sign in to comment.