Created
May 3, 2015 11:26
-
-
Save ripienaar/5e79eb6a4b2e34700864 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
| class one { | |
| notify{"one": } | |
| } | |
| class two { | |
| notify{"two": } | |
| Notify <| |> { message => "hello" } | |
| } | |
| notify{"outside": } | |
| include one, two |
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
| % puppet apply test.pp | |
| Notice: Compiled catalog for devco.net in environment production in 0.87 seconds | |
| Notice: hello | |
| Notice: /Stage[main]/Main/Notify[outside]/message: defined 'message' as 'hello' | |
| Notice: hello | |
| Notice: /Stage[main]/One/Notify[one]/message: defined 'message' as 'hello' | |
| Notice: hello | |
| Notice: /Stage[main]/Two/Notify[two]/message: defined 'message' as 'hello' | |
| Notice: Finished catalog run in 0.03 seconds |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment