Skip to content

Instantly share code, notes, and snippets.

@ahpook
Last active December 18, 2015 22:19
Show Gist options
  • Select an option

  • Save ahpook/5853853 to your computer and use it in GitHub Desktop.

Select an option

Save ahpook/5853853 to your computer and use it in GitHub Desktop.
Triage T-shirt code
define triage::worker ( $ensure = 'present' ) {
notify { $title: }
}
define food() { }
define drink() { }
food { 'pizza': }
drink { ['coffee', 'beer']: }
triage::worker { 'your_name_here':
ensure => bugs_squashed,
require => [ Food['pizza'], Drink['coffee'] ],
before => Drink['beer']
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment