Last active
August 29, 2015 14:16
-
-
Save ripienaar/cbb78e791b72df181991 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 { | |
| $x = 1 | |
| two{"x": } | |
| } | |
| define two { | |
| notice("notice: '${x}'") | |
| notice(inline_template("inline template: '<%= @x %>'")) | |
| } | |
| include one |
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
| Notice: Scope(Two[x]): notice: '' | |
| Notice: Scope(Two[x]): inline template: '1' | |
| Notice: Compiled catalog for devco.net in environment production in 0.12 seconds | |
| Notice: Finished catalog run in 0.02 seconds |
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 --parser=future | |
| Notice: Scope(Two[x]): notice: '' | |
| Notice: Scope(Two[x]): inline template: '' | |
| Notice: Compiled catalog for devco.net in environment production in 0.83 seconds | |
| Notice: Finished catalog run in 0.02 seconds |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment