Skip to content

Instantly share code, notes, and snippets.

@justindossey
Created May 28, 2015 22:05
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 justindossey/064e9dfa7d0ae890562b to your computer and use it in GitHub Desktop.
Save justindossey/064e9dfa7d0ae890562b to your computer and use it in GitHub Desktop.
params and conditionals
class foo ($external_volume = true) {
if $external_volume {
notice("True!")
} else {
notice("False!")
}
}
class { 'foo':
external_volume => false,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment