Created
June 8, 2012 12:39
-
-
Save larstobi/2895410 to your computer and use it in GitHub Desktop.
puppet module acl
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
| class acl::data { | |
| $packages = $operatingsystem ? { | |
| /Ubuntu|Debian/ => ['acl'], | |
| default => fail("Module does not support ${::operatingsystem}"), | |
| } | |
| } |
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
| class acl($packages = $acl::data::packages) { | |
| package { | |
| $packages: | |
| ensure => installed; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment