Merge pull request #20486 from l2ol33rt/fix_mint_17

Allow Linux Mint to use upstart
This commit is contained in:
jfindlay 2015-02-06 20:51:52 -07:00
commit 654de6bc60
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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'