Closed jfroche closed 8 years ago
Concat enable to flatten multiple lists. The current implementation seems to support this use case (two element, last element is a string) only:
concat(['1','2','3'],'4')
but not this usecase (n element, strings or lists):
concat(['1','2','3'],'4',['5','6','7'])
https://github.com/puppetlabs/puppetlabs-stdlib#concat ruby implementation: https://github.com/puppetlabs/puppetlabs-stdlib/blob/master/lib/puppet/parser/functions/concat.rb
Concat enable to flatten multiple lists. The current implementation seems to support this use case (two element, last element is a string) only:
but not this usecase (n element, strings or lists):
https://github.com/puppetlabs/puppetlabs-stdlib#concat ruby implementation: https://github.com/puppetlabs/puppetlabs-stdlib/blob/master/lib/puppet/parser/functions/concat.rb