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

Explore removing export / collect / virtual / realize syntax

    XMLWordPrintable

Details

    • Epic
    • Status: Open
    • Normal
    • Resolution: Unresolved
    • None
    • None
    • Compiler, Language
    • None
    • Remove export/collect/virtual resources
    • Platform Core
    • 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

            People

              Unassigned Unassigned
              eric.sorenson Eric Sorenson
              Votes:
              1 Vote for this issue
              Watchers:
              33 Start watching this issue

              Dates

                Created:
                Updated:

                Zendesk Support