Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-2557

Deprecate and remove node inheritance

    Details

    • Type: Task
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 3.7.0
    • Component/s: Compiler, Docs
    • Labels:
      None
    • Template:
    • Story Points:
      2
    • Sprint:
      Week 2014-6-11 to 2014-6-18, Week 2014-6-18 to 2014-6-25

      Description

      Node inheritance causes a large number of complications and ambiguities that make understanding puppet code difficult. There is very little reason to use it since much more effective reuse can be achieved using classes and defined types.

      On the next 3 series puppet that is using the current parser: the system must issue a deprecation warning when it encounters "inherits" in a node statement.

      For the future parser (3 series and in 4) inherits on a node is an error.

      UPDATE: The final decision is to make 3.7 (current) issue a warning, and that 3.7 (future) raises an error. This to make the 3.7 future as close as possible to what will be released in 4.0.

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                Unassigned
                Reporter:
                andy Andrew Parker
                QA Contact:
                Kurt Wall
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: