Last active
December 26, 2015 19:49
-
-
Save ferventcoder/7204591 to your computer and use it in GitHub Desktop.
PuppetACL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
acl { 'c:/windows/temp/some_dir': | |
inherit => true, | |
purge => false, | |
} | |
ace { | |
ensure => present, | |
acl => ACL ['c:/windows/temp/some_dir'], | |
identity => 'bob', | |
rights => 'modify', | |
type => 'allow', | |
inherit => 'inherit_all', | |
propagate => 'propagate_all', | |
} | |
ace { | |
ensure => present, | |
acl => ACL ['c:/windows/temp/some_dir'], | |
identity => 'tim', | |
rights => 'read_execute', | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
acl { 'c:/windows/temp/some_dir': | |
inherit => true, | |
purge => false, | |
permissions => [ | |
['bob','modify','allow','inherit_all','propagate_all], | |
['tim','read_execute'] | |
], | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment