Title: Message Title
Henrik Lindberg commented on an issue
Puppet / New Feature PUP-2523
defining hash keys with any _expression_ does not work
Given the following manifest:

{code}
$key = 'bla'
$value = 'bla'

$test_hash = {
  $key => $value
}

notice $test_hash
{code}

This raises the following error:

{code}
$ puppet apply test.pp --trace --debug
Error: Could not parse for environment production: Syntax error at 'key'; expected '}' at /tmp/test.pp:7 on node foo
/home/duritong...

--
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.

Reply via email to