Skip to content

Instantly share code, notes, and snippets.

@timurb
Created March 5, 2012 12:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timurb/1978055 to your computer and use it in GitHub Desktop.
Save timurb/1978055 to your computer and use it in GitHub Desktop.
another puppet bug?
$ 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
notice: result:-two
notice: /Stage[main]/Foo/Notify[result:-two]/message: defined 'message' as 'result:-two'
notice: Finished catalog run in 0.03 seconds
class foo (
$x = 'one',
$y = "${x}-two"
) {
notify { "result:${y}" : }
}
include foo
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