O'Reilly logo

Learning Puppet for Windows Server by Fuat Ulugay

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required