Issue #21252 has been reported by Vadim Lebedev.
----------------------------------------
Bug #21252: Parser future Chaining Functions don't work.
https://projects.puppetlabs.com/issues/21252
* Author: Vadim Lebedev
* Status: Unreviewed
* Priority: Normal
* Assignee:
* Category:
* Target version: 3.2.0
* Affected Puppet version: 3.2.1
* Keywords: Chaining Functions
* Branch:
----------------------------------------
This is example from official documentation:
[1,20,3].collect |$value| {$value < 10 }.each |$value| { notice $value }
# produces the output
Notice: Scope(Class[main]): 1
Notice: Scope(Class[main]): 3
On my pueppet:
puppet apply --parser future -e '[1,20,3].collect |$value| {$value < 10 }.each
|$value| { notice $value }'
Notice: Scope(Class[main]): true
Error: Too few arguments; 1 for 1 at :1 on node xxx
Error: Too few arguments; 1 for 1 at :1 on node xxx
Ubuntu 12.04
Puppet install from puppetlabs repo.
dpkg -l
puppetmaster 3.2.1-1puppetlabs1
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.