Uploaded image for project: 'Hiera'
  1. Hiera
  2. HI-120

Allow wildcards in hierarchy

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Template:

      Description

      It would be great to allow wildcards when defining the hierarchy in hiera.yaml.

      Example:
      In want to have a directory tree like this:
      hiera/project-name/common.json
      hiera/project-name/webservers.json

      But the number of projects is variable.

      So I want to define a hiera.yaml like:

      :backends:

      • json
        :json:
        :datadir: /tmp/pruebas-hiera/hiera
        :hierarchy:
      • "*/webservers"
      • "*/common"

      In that files, for instance, will be the users that some node have to create.

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                eric.sorenson Eric Sorenson
                Reporter:
                adrianlzt adrian
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: