Uploaded image for project: 'Puppet Task Runner'
  1. Puppet Task Runner
  2. BOLT-439

Allow nested subgroups in inventory files

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: BOLT 0.19.0
    • Component/s: None
    • Template:
    • Sprint:
      Bolt Kanban
    • Release Notes:
      New Feature
    • Release Notes Summary:
      Inventory groups can now be nested in other groups, allowing you to represent hierarchical grouping.
    • QA Risk Assessment:
      Needs Assessment

      Description

      https://github.com/puppetlabs/bolt/issues/367

      Allow something like

      groups:
        - name: sandbox
          group:
            - name: app
              nodes:
                 - sandbox1.example.com
                 - sandbox2.example.com
            - name: web_server
              nodes:
                 - sandbox3.example.com
                 - sandbox4.example.com
            - name: db
              nodes:
                 - sandbox5.example.com
                 - sandbox6.example.com
        - name: production
          nodes: 
            - prod1.example.com
      

      so we can have multiple tiers of grouping.

      The code likely already supports this but we need to stop preventing it and add more explicit testing around nested groups.

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                Unassigned
                Reporter:
                michael.smith Michael Smith
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: