Displaying 1 result from an estimated 1 matches for "env_message".
Did you mean:
egd_message
2013 Dec 17
1
Geppetto complains about uninitialized variables in reduce function
Hello,
I''m using the following expression to format a list:
$valid_environments = [''env1'', ''env2'', ''env3'']
$env_message = $valid_environments.reduce |$message, $env| {
"${message}, ${env}" }
It works at run-time (Puppet 3.2.4 standalone with "--parser=future").
However in Eclipse (v4.3.1), Geppetto (v4.0) shows these errors:
Reference to not yet initialized variable: env''...