Issue #9380 has been updated by James Turnbull.
Status changed from Unreviewed to Rejected
Your selector is not formatted correctly:
<pre>
$test1 = "bubu"
$test = $test1 ? { "bubu" => "baba", default => "bibi" }
fail($test)
</pre>
Note ?.
----------------------------------------
Bug #9380: Selector do not work
https://projects.puppetlabs.com/issues/9380
Author: Maxim Ianoglo
Status: Rejected
Priority: Normal
Assignee:
Category:
Target version:
Affected Puppet version:
Keywords:
Branch:
In 2.6.9 this contruction works:
$test1 = "bubu"
$test = $test1 { "bubu" => "baba", default => "bibi" }
fail($test)
In 2.7.3 it gives error like:
err: Could not retrieve catalog from remote server: Error 400 on SERVER:
Could not parse for environment production: Syntax error at '{'; expected '}'
at xxx on node yyy
--
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.