Bug #605

Providers should refer to '@resource' instead of '@model'

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

Providers were developed before we had standardized on the term ‘resource’, and they refer to ‘@model’. Provider instances should definitely refer to ‘@resource’ instead, and the classes should probably refer to ‘@resource_type’ or something similar.

For backwards compatibility, @model should still be set, but the methods should throw a warning.

History

Updated by Luke Kanies almost 5 years ago

  • Status changed from 1 to 2

This is a small change internally and should be pretty easy, but it significantly cleans up the terminology, which is important.

Updated by Luke Kanies almost 5 years ago

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

Fixed in r2501.

Also available in: Atom PDF