Fx2 proxy minion: clean return, like all the other modules

This commit is contained in:
Mircea Ulinic 2017-11-15 13:35:56 +00:00 committed by Mircea Ulinic
parent 5c123eb551
commit 2d6176b0bc
No known key found for this signature in database
GPG Key ID: 4286FAD4BACBB073

View File

@ -196,9 +196,7 @@ def __virtual__():
Only return if all the modules are available
'''
if not salt.utils.which('racadm'):
log.critical('fx2 proxy minion needs "racadm" to be installed.')
return False
return False, 'fx2 proxy minion needs "racadm" to be installed.'
return True