Last active
August 29, 2015 13:55
-
-
Save deinspanjer/8736066 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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