Skip to content

Instantly share code, notes, and snippets.

@ripienaar
Created August 25, 2015 19:11
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 ripienaar/d9581f8c17951790ab6b to your computer and use it in GitHub Desktop.
Save ripienaar/d9581f8c17951790ab6b to your computer and use it in GitHub Desktop.
Notice: printing: 1
Notice: /Stage[main]/Main/Foo::Print[1]/Notify[printing: 1]/message: defined 'message' as 'printing: 1'
Notice: printing: 2
Notice: /Stage[main]/Main/Foo::Print[2]/Notify[printing: 2]/message: defined 'message' as 'printing: 2'
Notice: printing: 3
Notice: /Stage[main]/Main/Foo::Print[3]/Notify[printing: 3]/message: defined 'message' as 'printing: 3'
Notice: Applied catalog in 0.05 seconds
define foo::print {
notify{"printing: ${name}": }
}
foo::print{["1", "2", "3"]: }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment