diff options
author | Brice Figureau <brice-puppet@daysofwonder.com> | 2011-02-12 17:34:35 +0100 |
---|---|---|
committer | Brice Figureau <brice-puppet@daysofwonder.com> | 2011-02-12 17:34:35 +0100 |
commit | 414e3a5989c4c1010af0c5d3f61af2608d91d9b8 (patch) | |
tree | 0ac166a0cc6f225860f6e1e8e316f88f42cd4acb /lib/puppet/util/rdoc/code_objects.rb | |
parent | 70a43c4b0d3018a39e29c50b1caf7dec38694323 (diff) | |
download | puppet-414e3a5989c4c1010af0c5d3f61af2608d91d9b8.tar.gz puppet-414e3a5989c4c1010af0c5d3f61af2608d91d9b8.tar.xz puppet-414e3a5989c4c1010af0c5d3f61af2608d91d9b8.zip |
Fix #5516 - Hashes can't be used in selectors
The following manifest was producing a parse error:
$int = { 'eth0' => 'bla' }
$foo = $int['eth0'] ? {
'bla' => 'foo',
default => 'bleh'
}
because selectors didn't support hash access.
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
Diffstat (limited to 'lib/puppet/util/rdoc/code_objects.rb')
0 files changed, 0 insertions, 0 deletions