The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com
New parser function - delete_each, to delete each item in an array from another array.
Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com
This ticket may be automatically exported to the MODULES project on JIRA using the button below:
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’]