Merge pull request #43587 from rallytime/fix-virtual

Add reason to linux_acl state loading failure
This commit is contained in:
Mike Place 2017-09-19 10:26:50 -06:00 committed by GitHub
commit 1bda4832ef

View file

@ -49,7 +49,7 @@ def __virtual__():
if salt.utils.which('getfacl') and salt.utils.which('setfacl'):
return __virtualname__
return False
return False, 'The linux_acl state cannot be loaded: the getfacl or setfacl binary is not in the path.'
def present(name, acl_type, acl_name='', perms='', recurse=False):