Last active
October 9, 2015 06:38
-
-
Save limed/3455710 to your computer and use it in GitHub Desktop.
Base module that is OS agnostic
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 base { | |
| case $::operatingsystem { | |
| 'ubuntu', 'debian': { | |
| include base::debian | |
| } | |
| 'fedora', 'centos', 'redhat': { | |
| include base::el | |
| } | |
| default: { | |
| notice("${::operatingsystem} is unsupported") | |
| } | |
| } | |
| tidy { '/tmp': | |
| age => '1w', | |
| recurse => true | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment