summaryrefslogtreecommitdiffstats
path: root/lib/puppet/provider/service/gentoo.rb
diff options
context:
space:
mode:
authorBrice Figureau <brice-puppet@daysofwonder.com>2009-03-25 22:44:58 +0100
committerJames Turnbull <james@lovedthanlost.net>2009-03-27 00:09:43 +1100
commit62dad7a5f87f8d6285650ab1b727819db27cf2a7 (patch)
treefba5b99dee9163db41471fc92b29bafb956d44f2 /lib/puppet/provider/service/gentoo.rb
parentcbee426854c09fae4d9675edb787d4563e9b9ac8 (diff)
downloadpuppet-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/service/gentoo.rb')
0 files changed, 0 insertions, 0 deletions