mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Fix pillar checks for minion that are pre "os_family"
This commit is contained in:
parent
6c0cf5891e
commit
0c1b60d710
@ -7,7 +7,7 @@ def __virtual__():
|
||||
'''
|
||||
Set the virtual pkg module if the os is openSUSE
|
||||
'''
|
||||
return 'pkg' if __grains__['os_family'] == 'Suse' else False
|
||||
return 'pkg' if __grains__.get('os_family', '') == 'Suse' else False
|
||||
|
||||
|
||||
def _list_removed(old, new):
|
||||
|
Loading…
Reference in New Issue
Block a user