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

Explore removing export / collect / virtual / realize syntax

    Details

    • Type: Epic
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Compiler, Language
    • Labels:
      None
    • Epic Name:
      Remove export/collect/virtual resources
    • Template:
    • Team/s:
      Platform Core
    • QA Risk Assessment:
      Needs Assessment

      Description

      For Puppet 6, we should prune the language of all vestiges of exporting and collecting, virtual/realized resources.

      As far as I can tell, all use cases for these language functions are better handled by various combinations of

      • data structures and loops to create resources at the point you need them, with proper resource default propagation for chained dependencies.
      • puppetdb query, which lets you find resources without having to specifically export them
      • refactoring into roles & profiles that reduce the multiple-declaration problem that realizing was meant to solve

      I'd like to collect all the weird edge cases around these constructs as related issues on this ticket, and also solicit feedback on whether there are NOT use-cases that are better covered somewhere else.

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  eric.sorenson Eric Sorenson
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  25 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: