On Thu, Jan 13, 2011 at 5:04 AM, Felix Frank <[email protected]> wrote: > On 01/11/2011 10:48 PM, Adam Crews wrote: >> $info = [ "acrews", "Adam", "/bin/bash" ] >> $shell = $info[2] ? { >> /bin/ => $info[2], >> default => "/sbin/nologin", >> } >> >> I get: Syntax error at '?'; expected '} > >> Am I doing something wrong, or is this a bug? > > To me, this looks like a bug. You should just report it, if it turns out > to be a feature instead ;-) the devs will probably tell you so. > > Cheers, > Felix >
Thanks for the reply. I filed bug #5860 yesterday, and now that I search around a little more I think it may be the same as bug #5516. -Adam -- You received this message because you are subscribed to the Google Groups "Puppet Users" 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-users?hl=en.
