mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
modules: service: support Systemd on Cumulus Linux
Cumulus Linux is Debian-based and uses Systemd as its init system. This commit prevents the minion from trying to use SysVinit on Cumulus Linux and failing with `ERROR: Unable to run command [...] No such file or directory`.
This commit is contained in:
parent
dac9e7c7f2
commit
a492bd4ac2
@ -45,7 +45,8 @@ def __virtual__():
|
||||
'Void',
|
||||
'Mint',
|
||||
'Raspbian',
|
||||
'XenServer'
|
||||
'XenServer',
|
||||
'Cumulus'
|
||||
))
|
||||
if __grains__.get('os', '') in disable:
|
||||
return (False, 'Your OS is on the disabled list')
|
||||
|
Loading…
Reference in New Issue
Block a user