Puppet: System Administration Automated

Support

Ticket #809 (closed defect: worksforme)

Opened 1 year ago

Last modified 11 months ago

Definitions that only produce collections are not considered to have done any work

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: Unknown

Description

The 'evaluate_definitions' method in parser/compile.rb should check whether a definition has created any resources or has created any collections, but it currently only checks for resources. This means that iterating over collections and definitions might end prematurely.

Change History

11/20/07 23:56:49 changed by luke

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

It appears that I fixed this over the course of the last couple of months.