Uploaded image for project: 'Documentation (moved to puppet.atlassian.net)'
  1. Documentation (moved to puppet.atlassian.net)
  2. DOCUMENT-969

Hiera merge behavior for arrays of hashes

    XMLWordPrintable

Details

    • Improvement
    • Status: Accepted
    • Normal
    • Resolution: Unresolved
    • None
    • 3
    • Needs Assessment

    Description

      It would be handy if the Hiera merge behavior documentation covered merging arrays of hashes. For example, what is the result of the following using a “unique” merge?

      # a.yaml
      people:
        - name: Alice
          password: rKlXG1WwsmpSWwkXkN
       
      # b.yaml
      people:
        - name: Daniel
          password: hunter2
      

      https://puppet.com/docs/puppet/6.1/hiera_merging.html#merge-behaviors

      I'm filing this in DOCUMENTS with my community account since my last day at Puppet will be 1/31/2019

      Attachments

        Activity

          People

            Unassigned Unassigned
            jirauser36344 user-3f4de (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Zendesk Support