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

Improve resource collection to support 'environments'

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Needs Information
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Template:

      Description

      This ticket tracks the work required within Puppet to express collection constraints with 'environment'.

      Currently we are working on PDB-47 that adds environment information from catalogs, facts and reports into PuppetDB but we are unable to provide a way to constrain collections by environment.

      We have tried to work around the current code by using something like 'catalog_environment' as a special parameter, but Puppet won't honor this during catalog compilation, so this doesn't work for resources that collect and export on the same node.

      What we need is a new way of allowing environment constraints ultimately, which may require a redesign of all or part of the query interface.

      At the very least, if we had a way of specific a constraint for environment that actually worked in Puppet we could use that parameter in the PuppetDB resource terminus as well.

      The full discussion of this problem is on puppet-dev here: https://groups.google.com/forum/#!topic/puppet-dev/g0xzNc7p4mE

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              ken Ken Barber
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:

                  Zendesk Support