Re: [Puppet Users] Geppetto complains about uninitialized variables in reduce function

2014-01-09 Thread Igor Berger
Thanks, done: https://tickets.puppetlabs.com/browse/GEP-22 On Tuesday, December 17, 2013 7:13:15 PM UTC-5, Henrik Lindberg wrote: > > On 2013-17-12 17:23, Igor Berger wrote: > > Hello, > > > > I'm using the following expression to format a list: > > > > $valid_environments = ['env1', 'env2',

Re: [Puppet Users] Geppetto complains about uninitialized variables in reduce function

2013-12-17 Thread Henrik Lindberg
On 2013-17-12 17:23, Igor Berger wrote: 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 "--

[Puppet Users] Geppetto complains about uninitialized variables in reduce function

2013-12-17 Thread Igor Berger
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 Eclip