mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #43587 from rallytime/fix-virtual
Add reason to linux_acl state loading failure
This commit is contained in:
commit
1bda4832ef
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Reference in a new issue