From 84b8993543f13bdbf3ecaa3d7ef162dcbcafa23e Mon Sep 17 00:00:00 2001 From: mreider Date: Thu, 7 Dec 2023 11:34:10 -0500 Subject: [PATCH] add documentation for facl defaults, in acl state --- salt/states/linux_acl.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/salt/states/linux_acl.py b/salt/states/linux_acl.py index 55157457486d..b854ffb818b7 100644 --- a/salt/states/linux_acl.py +++ b/salt/states/linux_acl.py @@ -14,6 +14,17 @@ - acl_name: damian - perms: rwx +Ensure a Linux ACL is present as a default for all new objects + +.. code-block:: yaml + + root: + acl.present: + - name: /root + - acl_type: "default:user" + - acl_name: damian + - perms: rwx + Ensure a Linux ACL does not exist .. code-block:: yaml