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

Add support for using hocon for main hiera config file

    Details

    • Type: Task
    • Status: Closed
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Template:
    • Team:
      Puppet Developer Experience
    • Story Points:
      2

      Description

      This is a follow-up to HI-341 and related tickets.

      After that work is completed, we will have the ability to use HOCON for hiera data files, but the main hiera config file will still be expressed as YAML.

      It would be nice to optionally support HOCON for the main hiera config as well.

      In order to do this in a backward-compatible way, we should probably try to alter the logic that currently loads the hiera.yaml file so that it looks first for a hiera.conf file, and if it finds it, parses it as HOCON. If it doesn't find it, it should fall back to the current logic for reading the YAML file.

      There will probably be changes required in both the hiera and puppet projects to achieve this; after we investigate a bit further, it might be reasonable to create a separate PUP ticket for those changes.

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  chris Chris Price
                  QA Contact:
                  Erik Dasher
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Zendesk Support