Skip to content

Instantly share code, notes, and snippets.

@anarcat
Last active September 6, 2019 15:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anarcat/3fd2c4bb52d0ca1f51d98c31c9b8f652 to your computer and use it in GitHub Desktop.
Save anarcat/3fd2c4bb52d0ca1f51d98c31c9b8f652 to your computer and use it in GitHub Desktop.
class base {}
classes:
- base::includes
classes:
- role::rt
class base::includes {
include profile::postfix
}
class profile::postfix($override = false) {
class postfix { override => $override }
}
class role::rt {
class { 'profile::postfix': override => true }
}
include base
hiera_include('classes')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment