Issue #19908 has been updated by Charlie Sharpsteen. Status changed from Unreviewed to Duplicate
Duplicate of #14301. Appears this regressed between 2.7.1 and 2.7.3 as a result of [3ac7aed](https://github.com/puppetlabs/puppet/commit/3ac7aed). ---------------------------------------- Bug #19908: hash syntax error https://projects.puppetlabs.com/issues/19908#change-89190 * Author: Maxim Ianoglo * Status: Duplicate * Priority: High * Assignee: * Category: * Target version: 3.x * Affected Puppet version: * Keywords: * Branch: ---------------------------------------- Getting the following error: Syntax error at '{'; expected '}' on code like: <pre> $panel_tcp_in = $control_panel ? { cpanel => {'admin_interface' => '2087', 'user_interface' => '2077,2078,2082,2083,2086,2095,2096'}, directadmin => {'admin_interface' => '2222', 'user_interface' => '2222'}, plesk => {'admin_interface' => '8443', 'user_interface' => '8443'}, default => {'admin_interface' => '', 'user_interface' => ''} } </pre> This is working without issues in 2.6.X and 2.7.X <pre> [root@dev2 ~]# uname -a Linux dev2 2.6.32-042stab074.10 #1 SMP Fri Mar 1 09:18:44 MSK 2013 x86_64 x86_64 x86_64 GNU/Linux [root@dev2 ~]# puppet -V 3.1.1 [root@dev2 ~]# ruby -v ruby 1.9.3p392 (2013-02-22 revision 39386) [x86_64-linux] </pre> -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
