hi,

i don't know if this has been fixed for 3.x, but

$boole = true
$testvar = $boole ? {
  true => {},
  default => { hans => franz },
}

leads to:

Could not parse for environment production: Syntax error at '{'; expected 
'}' at /tmp/test.pp:3

whereas

$boole = true
$emptyhash = {}
$testvar = $boole ? {
  true => $emptyhash,
  default => { hans => franz},
}

works fine.

br,
Peter

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-dev/-/nGNl_-5K1nEJ.
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-dev?hl=en.

Reply via email to