Skip to content

Instantly share code, notes, and snippets.

@ody
Created September 10, 2012 19:21
Show Gist options
  • Save ody/3693156 to your computer and use it in GitHub Desktop.
Save ody/3693156 to your computer and use it in GitHub Desktop.
class foo($message = 'foo is the message') {
notify { 'foo': message => $message }
}
class baz inherits foo {
$message = 'baz is the message'
Notify['foo'] { message => $message }
}
class { 'foo': }
class { 'baz': }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment