The ACL module manages the Access Control Lists in Windows. The Linux way of giving rights to folders and files does not work correctly in Windows. The ACL module adds a type provider to Puppet. We can use this acl
type to assign permissions and rights to files and folders.
To install acl
, you need to write the following command:
$ sudo puppet module install puppetlabs-acl
Here are the definition details of an acl
:
acl { 'name': target=> 'absolute/path', target_type=> '<file>', purge=> '<true| false | listed_permissions>', permissions=> [ { identity=> '<identity>', rights=> [<rights>], perm_type=> '<perm_type>', affects=> '<affects>', child_types => '<child_types>' } ], owner=> '<owner>', group=> '<group>', inherit_parent_permissions => '<true | false>', }
Here are the details of the each parameter and attribute:
name
: The name of the ACL resource. If the target is not defined...