diff options
author | Brice Figureau <brice-puppet@daysofwonder.com> | 2008-10-28 14:15:08 +0100 |
---|---|---|
committer | Brice Figureau <brice-puppet@daysofwonder.com> | 2008-10-29 10:28:32 +0100 |
commit | 9f30306d2c768bad3327ecb7748669afb10cd4aa (patch) | |
tree | 94eb572fc97edd80968549bcb7fe599193bb09f0 /lib/puppet/util/autoload.rb | |
parent | 649a9e009a3a5bd070051b972c2cf26989af8e8c (diff) | |
download | puppet-9f30306d2c768bad3327ecb7748669afb10cd4aa.tar.gz puppet-9f30306d2c768bad3327ecb7748669afb10cd4aa.tar.xz puppet-9f30306d2c768bad3327ecb7748669afb10cd4aa.zip |
Fix #857 - Multiple class of the same name don't append code
The following manifest wasn't working:
class one {
notice('class one')
}
class one {
notice('second class one')
}
include one
It all boiled down to class code not being arrays.
Encapsulating code in ASTArray when needed is enough to append code,
because of the property of ASTArray to evaluate all their members in
turn.
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
Diffstat (limited to 'lib/puppet/util/autoload.rb')
0 files changed, 0 insertions, 0 deletions