Issue #15628 has been updated by Bill Tong.

A better explanation:

Say you have a class that accepts three arguments: a boolean, a string, and an 
array. Each of these has a default. The array's default is quite big.

If I then create a class and want to override the boolean, I can. The string? I 
can.

But for the array I only want to add one extra element. At the moment I have to 
copy the long list of defaults, and add the element I want to add, and pass 
that back.

Being able to say "add this to the defaults" would be helpful.
----------------------------------------
Bug #15628: Need way to pass array to class to APPEND to defaults
https://projects.puppetlabs.com/issues/15628#change-67422

Author: Bill Tong
Status: Unreviewed
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


A way to pass an array to a class so that it would APPEND that array to the 
default array for that class would be excellent.


-- 
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to