Jira (PUP-9372) Add collection operations to Puppet core

4 views
Skip to first unread message

Michael Smith (JIRA)

unread,
Dec 20, 2018, 6:37:03 PM12/20/18
to puppe...@googlegroups.com
Michael Smith created an issue
 
Puppet / New Feature PUP-9372
Add collection operations to Puppet core
Issue Type: New Feature New Feature
Assignee: Unassigned
Created: 2018/12/20 3:36 PM
Priority: Normal Normal
Reporter: Michael Smith

I've found group_by and partition to be useful, it'd be nice to have them in Puppet core to operate on iterables.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Henrik Lindberg (JIRA)

unread,
Dec 23, 2018, 9:12:03 AM12/23/18
to puppe...@googlegroups.com

Michael Smith (JIRA)

unread,
Jan 2, 2019, 1:32:04 PM1/2/19
to puppe...@googlegroups.com
Michael Smith commented on New Feature PUP-9372

The PR has a few examples. I've found these specifically useful in Bolt, but we thought they might be general enough to deserve adding to Puppet.

I've found group_by useful to separate targets into categories based on properties of those targets. For partition it's usually to separate by a boolean condition, what otherwise might be two opposite filter operations.

Michael Smith (JIRA)

unread,
Jan 4, 2019, 12:42:03 PM1/4/19
to puppe...@googlegroups.com
Michael Smith updated an issue
 
Change By: Michael Smith
Team: Bolt
Sprint: Bolt Kanban

David Kramer (JIRA)

unread,
Jan 7, 2019, 12:34:03 PM1/7/19
to puppe...@googlegroups.com
David Kramer assigned an issue to Michael Smith
Change By: David Kramer
Assignee: Michael Smith

Michael Smith (JIRA)

unread,
Jan 25, 2019, 6:59:03 PM1/25/19
to puppe...@googlegroups.com
Michael Smith updated an issue
Change By: Michael Smith
Release Notes: New Feature

Michael Smith (JIRA)

unread,
Jan 25, 2019, 6:59:03 PM1/25/19
to puppe...@googlegroups.com
Michael Smith updated an issue
Change By: Michael Smith
Fix Version/s: PUP 6.3.0

Jean Bond (JIRA)

unread,
Feb 19, 2019, 2:43:03 PM2/19/19
to puppe...@googlegroups.com
Jean Bond updated an issue
Change By: Jean Bond
Labels: resolved-issue-added

john (Jira)

unread,
Oct 9, 2020, 8:32:05 AM10/9/20
to puppe...@googlegroups.com
john commented on New Feature PUP-9372

> The PR has a few examples

Adding a link for us mortals that can see it in tickets.puppetlabs.com https://github.com/puppetlabs/puppet/pull/7310

This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages