Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 4.9.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Acceptance Criteria:
      Hide

      That Hocon files can be used in data in modules and environments.

      Show
      That Hocon files can be used in data in modules and environments.
    • Team:
      Puppet Developer Experience
    • Story Points:
      2
    • Sprint:
      SE 2016-09-21, PDE 2017-01-11, PDE 2017-01-25, PDE 2017-02-08
    • Release Notes:
      New Feature
    • Release Notes Summary:
      Data in the hocon data format can now be used with hiera.yaml having versions 3, 4, or 5.
    • QA Risk Assessment:
      Automate
    • QA Risk Assessment Reason:
      high risk, used by meep, needs acceptance

      Description

      Add support for hocon in the hiera.yaml version 3, 4, and 5 formats. The support should be added such that hocon data files are supported the same way as json and yaml provided that the hocon gem is available (and error if an attempt is made to use it without the gem).

      For version 5, the function hocon_data should work like the yaml_data, and json_data functions. For formats version 3, and 4, the name of the backend should be hocon. The file extension for data files in versions 3 and 4 is .conf. In version 5, the extension must be included in the path.

      ORIGINAL


      In HI-341 support for Hocon files are added to hiera as a hiera backend. The same support should be in Puppet lookup to make it possible to use hocon also on environments and in modules.

      See https://tickets.puppetlabs.com/browse/HI-341?focusedCommentId=261603&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-261603 for details how to add a hocon data provider.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                henrik.lindberg Henrik Lindberg
                QA Contact:
                Erik Dasher
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support