Title: Message Title
Levi Lovelock commented on an issue
Puppet / New Feature PUP-2523
defining hash keys with variables does not worlk
Given the following manifest:

<pre>
$key = 'bla'
$value = 'bla'

$test_hash = {
  $key => $value
}

notice $test_hash
</pre>

This raises the following error:

<pre>
$ 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