mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Merge pull request #29352 from simonbp/virt_ret_apache
modules.apache: __virtual__ return err msg
This commit is contained in:
commit
e63f92a7aa
@ -41,7 +41,7 @@ def __virtual__():
|
||||
cmd = _detect_os()
|
||||
if salt.utils.which(cmd):
|
||||
return 'apache'
|
||||
return False
|
||||
return (False, 'The apache execution module cannot be loaded: apache is not installed.')
|
||||
|
||||
|
||||
def _detect_os():
|
||||
|
Loading…
Reference in New Issue
Block a user