diff options
author | Brice Figureau <brice-puppet@daysofwonder.com> | 2009-03-25 22:44:58 +0100 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2009-03-27 00:09:43 +1100 |
commit | 62dad7a5f87f8d6285650ab1b727819db27cf2a7 (patch) | |
tree | fba5b99dee9163db41471fc92b29bafb956d44f2 /lib/puppet/provider/package/pkgdmg.rb | |
parent | cbee426854c09fae4d9675edb787d4563e9b9ac8 (diff) | |
download | puppet-62dad7a5f87f8d6285650ab1b727819db27cf2a7.tar.gz puppet-62dad7a5f87f8d6285650ab1b727819db27cf2a7.tar.xz puppet-62dad7a5f87f8d6285650ab1b727819db27cf2a7.zip |
Fix #2107 - flatten resource references arrays properly
Resource parameters of the form
[Res[a], Res[a,b]] ends being evaluated as
[Res[a], [ Res[a], Res[b] ]
This last form was not flattened when transfomed into RAL
type, which in turn prevented the sub array to be converted
in regular resource references.
Thus the type was choking when encountering those native
parser references instead of usual resource reference.
The fix consists in flattening array of references before
transformation to trans objects for RAL.
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
Diffstat (limited to 'lib/puppet/provider/package/pkgdmg.rb')
0 files changed, 0 insertions, 0 deletions