Skip to content

Instantly share code, notes, and snippets.

@limed
Last active October 9, 2015 06:38
Show Gist options
  • Select an option

  • Save limed/3455710 to your computer and use it in GitHub Desktop.

Select an option

Save limed/3455710 to your computer and use it in GitHub Desktop.
Base module that is OS agnostic
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