Issue #110 has been updated by seanmil. File 0001-Fix-to-allow-nested-arrays-in-resource-parameters.patch added Affected version set to 0.24.4
I've never had problems using normal arrays with parameters like file's "source", but I did find problems using nested arrays. Here is a patch which seems to fix that problem and includes a rspec unit test. It takes the simple way out and flattens any nested arrays as the type instance is created. ---------------------------------------- Feature #110: Parameters should support arrays as values http://reductivelabs.com/redmine/issues/show/110 Author: anonymous Status: Accepted Priority: Normal Assigned to: luke Category: RAL Target version: unplanned Complexity: Medium Patch: None Affected version: 0.24.4 Keywords: States are all set up to support arrays as values, but parameters are not generally set up that way. This is mostly fine, except that there are parameters that support arrays, yet the validation systems break on arrays. The parameter system in general needs to be updated to support arrays or normal values. ---------------------------------------- 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://reductivelabs.com/redmine/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 -~----------~----~----~----~------~----~------~--~---
