Skip to content

Instantly share code, notes, and snippets.

@deinspanjer
Last active August 29, 2015 13:55
Show Gist options
  • Save deinspanjer/8736066 to your computer and use it in GitHub Desktop.
Save deinspanjer/8736066 to your computer and use it in GitHub Desktop.
cat | puppet apply
notify { [ '/path/file1', '/path/file2', ]:
message => "$name - $title - $value - $fubar",
}
^D
Output:
Notice: Compiled catalog for sandbox.hortonworks.com in environment production in 0.05 seconds
Notice: main - main - -
Notice: /Stage[main]/Main/Notify[/path/file1]/message: defined 'message' as 'main - main - - '
Notice: main - main - -
Notice: /Stage[main]/Main/Notify[/path/file2]/message: defined 'message' as 'main - main - - '
Notice: Finished catalog run in 0.25 seconds
I would like the output to show:
Notice: Compiled catalog for sandbox.hortonworks.com in environment production in 0.05 seconds
Notice: main - main - -
Notice: /Stage[main]/Main/Notify[/path/file1]/message: defined 'message' as '/path/file1'
Notice: main - main - -
Notice: /Stage[main]/Main/Notify[/path/file2]/message: defined 'message' as '/path/file2'
Notice: Finished catalog run in 0.25 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment