HomePhorge

(#7801) Modify include function to accept arrays
59b0757a3748Unpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

(#7801) Modify include function to accept arrays

When an array of classes is passed to the :include function, it
currently attempts to wrap the array in another array, and then pass the
entire array through as a single argument, causing an error. This
commit calls flatten against the array before sending it through,
following the pattern of :realize, and enabling arrays to be passed as
well as comma-separated or individual class values.

Details

Provenance
Eric Shamow <eric@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU5055e39d93fd: Merge pull request #515 from cprice/cleanup/master/improved-logging-during…
Branches
Unknown
Tags
Unknown

Event Timeline

Eric Shamow <eric@puppetlabs.com> committed rPU59b0757a3748: (#7801) Modify include function to accept arrays (authored by Eric Shamow <eric@puppetlabs.com>).Apr 6 2012, 2:31 AM