Skip to content

Instantly share code, notes, and snippets.

@timurb
Created July 19, 2012 11:28
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 timurb/3143155 to your computer and use it in GitHub Desktop.
Save timurb/3143155 to your computer and use it in GitHub Desktop.
class myclass::params {
$foo='bar'
}
class myclass (
$foo = params_lookup('foo')
) inherits myclass::params {
notify { $myclass::foo : }
}
class { 'myclass': }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment