Puppet: System Administration Automated

Support

Ticket #808 (closed defect: worksforme)

Opened 1 year ago

Last modified 10 months ago

Virtual definitions in outer blocks do not get realized by collections in inner blocks

Reported by: luke Assigned to: luke
Priority: normal Milestone: misspiggy
Component: language Version: 0.23.2
Severity: normal Keywords: collection,definitions,iteration
Cc: Triage Stage: Accepted
Attached Patches: None Complexity: Medium

Description

The following code only realizes the inner A instance, not the outer one:

define a {
    notify { "Main a $name": }
}
@a { "outertest": }
class b {    class c {
        @a { "innertest": }
        A <| |>
    }
}
include b::c

Instead I get:

notice: Main a innertest

Change History

11/20/07 23:58:40 changed by luke

  • status changed from new to closed.
  • resolution set to worksforme.

This also appears to have gotten fixed over the last couple of months.