Skip to content

Instantly share code, notes, and snippets.

@larstobi
Created June 8, 2012 12:39
Show Gist options
  • Select an option

  • Save larstobi/2895410 to your computer and use it in GitHub Desktop.

Select an option

Save larstobi/2895410 to your computer and use it in GitHub Desktop.
puppet module acl
class acl::data {
$packages = $operatingsystem ? {
/Ubuntu|Debian/ => ['acl'],
default => fail("Module does not support ${::operatingsystem}"),
}
}
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