summaryrefslogtreecommitdiffstats
path: root/CHANGELOG
diff options
context:
space:
mode:
authorBrice Figureau <brice-puppet@daysofwonder.com>2009-02-05 19:55:29 +0100
committerJames Turnbull <james@lovedthanlost.net>2009-02-11 08:51:58 +1100
commit6331bfc9b6dc5140147730b3c4f79fef35265a94 (patch)
treebb615887165ad10933425e9aa5dbeaa7a5c353a6 /CHANGELOG
parent7e036eb761539d58794469ecf14ee7e94d10a5fc (diff)
downloadpuppet-6331bfc9b6dc5140147730b3c4f79fef35265a94.tar.gz
puppet-6331bfc9b6dc5140147730b3c4f79fef35265a94.tar.xz
puppet-6331bfc9b6dc5140147730b3c4f79fef35265a94.zip
Fix #1682 - Resource titles are not flattened as they should
The following manifest: $groups = ["foo", "bar"] $type_groups = ["baz", "quux"] $user_groups = [$groups, $type_groups] notify{ $user_groups: } which outputs: notice: foo notice: //Notify[foobar]/message: defined 'message' as 'foo' notice: baz notice: //Notify[bazquux]/message: defined 'message' as 'baz' is not equivalent to $user_groups = [ ["foo", "bar"], ["baz", "quux"] ] notify{ $user_groups: } which outputs: notice: foo notice: //Notify[foo]/message: defined 'message' as 'foo' notice: baz notice: //Notify[baz]/message: defined 'message' as 'baz' notice: bar notice: //Notify[bar]/message: defined 'message' as 'bar' notice: quux notice: //Notify[quux]/message: defined 'message' as 'quux' Obviously the second one manages to flatten the arrays and not the first one. This changeset adds flattening to the resource titles evaluations in order to be consitent in all cases. Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
Diffstat (limited to 'CHANGELOG')
0 files changed, 0 insertions, 0 deletions