mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Merge pull request #20486 from l2ol33rt/fix_mint_17
Allow Linux Mint to use upstart
This commit is contained in:
commit
654de6bc60
@ -40,7 +40,8 @@ def __virtual__():
|
||||
'OEL',
|
||||
'Linaro',
|
||||
'elementary OS',
|
||||
'McAfee OS Server'
|
||||
'McAfee OS Server',
|
||||
'Mint'
|
||||
))
|
||||
if __grains__.get('os', '') in disable:
|
||||
return False
|
||||
|
@ -61,7 +61,7 @@ def __virtual__():
|
||||
Only work on Ubuntu
|
||||
'''
|
||||
# Disable on these platforms, specific service modules exist:
|
||||
if __grains__['os'] in ('Ubuntu', 'Linaro', 'elementary OS'):
|
||||
if __grains__['os'] in ('Ubuntu', 'Linaro', 'elementary OS', 'Mint'):
|
||||
return __virtualname__
|
||||
elif __grains__['os'] in ('Debian', 'Raspbian'):
|
||||
debian_initctl = '/sbin/initctl'
|
||||
|
Loading…
Reference in New Issue
Block a user