Issue #19908 has been reported by Maxim Ianoglo.
----------------------------------------
Bug #19908: hash syntax error
https://projects.puppetlabs.com/issues/19908
* Author: Maxim Ianoglo
* Status: Unreviewed
* Priority: High
* Assignee:
* Category:
* Target version: 3.x
* Affected Puppet version:
* Keywords:
* Branch:
----------------------------------------
Getting the following error: Syntax error at '{'; expected '}'
on code like:
$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' => ''}
}
This is working without issues in 2.6.X and 2.7.X
[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]
--
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.