Bug #607

Parameters should use '@resource' instead of '@parent'

Added by Luke Kanies almost 5 years ago. Updated almost 5 years ago.

Status:Closed Start date:
Priority:High Due date:
Assignee:Luke Kanies % Done:

0%

Category:-
Target version:0.25.0
Affected Puppet version:0.25.4 Branch:
Keywords:
Votes: 0

Description

Because of how Puppet was implemented initially, parameter instances store a reference to the containing resource in a variable called ‘@parent’. This variable should get renamed to ‘@resource’, so that what’s happening is more clear.

The variable still needs to be set, at least for now, for backwards compatibility.

History

Updated by Luke Kanies almost 5 years ago

  • Status changed from 1 to 2

Updated by Luke Kanies almost 5 years ago

  • Status changed from 2 to Closed
  • 7 set to fixed

Fixed in r2500.

Also available in: Atom PDF