The access control list

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 ...

Get Learning Puppet for Windows Server now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.