Created
March 5, 2012 12:00
-
-
Save timurb/1978055 to your computer and use it in GitHub Desktop.
another puppet bug?
This file contains 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: result:one-two | |
notice: /Stage[main]/Foo/Notify[result:one-two]/message: defined 'message' as 'result:one-two' | |
notice: Finished catalog run in 0.03 seconds |
This file contains 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: result:-two | |
notice: /Stage[main]/Foo/Notify[result:-two]/message: defined 'message' as 'result:-two' | |
notice: Finished catalog run in 0.03 seconds |
This file contains 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 foo ( | |
$x = 'one', | |
$y = "${x}-two" | |
) { | |
notify { "result:${y}" : } | |
} | |
include foo |
This file contains 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 foo ( | |
$xx = 'one', | |
$yy = "${xx}-two" | |
) { | |
notify { "result:${yy}" : } | |
} | |
include foo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment