mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Simplify __virtual__
logic.
This commit is contained in:
parent
7062ff4366
commit
55fd4273cc
@ -39,8 +39,7 @@ def _get_cmd():
|
||||
'''
|
||||
if __grains__['os_family'] == 'RedHat':
|
||||
return 'alternatives'
|
||||
else:
|
||||
return 'update-alternatives'
|
||||
return 'update-alternatives'
|
||||
|
||||
|
||||
def display(name):
|
||||
|
Loading…
Reference in New Issue
Block a user