summaryrefslogtreecommitdiffstats
path: root/examples/code
diff options
context:
space:
mode:
authorMarkus Roberts <Markus@reality.com>2010-04-15 16:30:32 -0700
committerJames Turnbull <james@lovedthanlost.net>2010-05-02 11:39:03 +1000
commitb0e3c61a8b3b28c9214ba4aa986f533f61831daf (patch)
tree8ea5e700048b6ad03b77c972d0ccd3dd13b6d326 /examples/code
parent8a3049591a2913c7a7a33407f742892bf27a2d34 (diff)
downloadpuppet-b0e3c61a8b3b28c9214ba4aa986f533f61831daf.tar.gz
puppet-b0e3c61a8b3b28c9214ba4aa986f533f61831daf.tar.xz
puppet-b0e3c61a8b3b28c9214ba4aa986f533f61831daf.zip
Fix for #3556 Plussignment value melding
The plussignment operator was constructing the new parameter value by modifying the param object's value in place (so as to preserve the file and line information for debugging). However, when multiple resources are overridden by the same plussignment this would result in all of the resources sharing the same value (the union of all the prior values and the new value), which is wrong. Instead, we need to give each resource its own copy of the value (e.g., a copy of the param object), which this patch implements. Signed-off-by: Markus Roberts <Markus@reality.com>
Diffstat (limited to 'examples/code')
0 files changed, 0 insertions, 0 deletions