Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@b4ldr
Created April 6, 2020 10:14
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 b4ldr/cef392a9b91f456204d4dbc1e2ed540b to your computer and use it in GitHub Desktop.
Save b4ldr/cef392a9b91f456204d4dbc1e2ed540b to your computer and use it in GitHub Desktop.
profile::bacula::myclass::mydefines:
foobar:
abc: some value
define profile::bacula::mydefine (
$abc = undef
) {
notice($abc)
}
class profile::bacula::myclass(
$mydefines = {}
) {
$mydefines.each |$name, $mydefine| {
profile::bacula::mydefines{ $name:
* => $mydefine
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment