The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

Feature #14380

New parser function - delete_each, to delete each item in an array from another array.

Added by Bob Feldbauer over 2 years ago. Updated 6 months ago.

Status:UnreviewedStart date:05/09/2012
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:stdlibSpent time:-
Target version:-
Keywords: Branch:

We've Moved!

Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com

This ticket is now tracked at: https://tickets.puppetlabs.com/browse/MODULES-1134


Description

Pull request sent to puppet-stdlib, #68 – https://github.com/puppetlabs/puppetlabs-stdlib/pull/68

This new parser function in stdlib is called delete_each. It allows deleting each item in an array from another array.

Usage: delete_each(original_array, to_delete_array)

Example: delete_each([‘a’,‘b’,‘c’, ’d'], [‘b’, ’d']) Returns: [‘a’, ‘c’]

History

#1 Updated by Rodney Beede 6 months ago

Redmine Issue #14380 has been migrated to JIRA:

https://tickets.puppetlabs.com/browse/MODULES-1134

Also available in: Atom PDF