{"id":20357889,"url":"https://github.com/gandi/puppet-hiera-deep-merge","last_synced_at":"2026-06-07T00:32:11.978Z","repository":{"id":30303298,"uuid":"33855019","full_name":"Gandi/puppet-hiera-deep-merge","owner":"Gandi","description":"puppet' hiera_hash wrapper for deep merging on demand","archived":false,"fork":false,"pushed_at":"2015-10-05T11:47:15.000Z","size":110,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":31,"default_branch":"master","last_synced_at":"2025-03-04T17:50:26.279Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Gandi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-13T07:49:35.000Z","updated_at":"2016-03-21T08:12:47.000Z","dependencies_parsed_at":"2022-09-02T14:00:46.136Z","dependency_job_id":null,"html_url":"https://github.com/Gandi/puppet-hiera-deep-merge","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Gandi/puppet-hiera-deep-merge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gandi%2Fpuppet-hiera-deep-merge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gandi%2Fpuppet-hiera-deep-merge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gandi%2Fpuppet-hiera-deep-merge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gandi%2Fpuppet-hiera-deep-merge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Gandi","download_url":"https://codeload.github.com/Gandi/puppet-hiera-deep-merge/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gandi%2Fpuppet-hiera-deep-merge/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34005030,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-06T02:00:07.033Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T23:24:20.182Z","updated_at":"2026-06-07T00:32:11.963Z","avatar_url":"https://github.com/Gandi.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Puppet-Hiera deep merge on demand\n\n[![Build Status](https://travis-ci.org/Gandi/puppet-hiera-deep-merge.svg?branch=master)](https://travis-ci.org/Gandi/puppet-hiera-deep-merge)\n\n## Why ?\n\nHiera 1.2 introduces [deep_merge behavior](https://docs.puppetlabs.com/hiera/1/lookup_types.html#deep-merging-in-hiera--120),\nwhich is a major enhancement for managing stuff in Hiera. But merge\nbehavior is a global setting in Hiera, so migration of large puppet\ncode bases can be prone to errors. This module provides a new\nfunction named ``hiera_hash_merge`` which uses the `deep_merge`\nbehavior but does not need a global switch.\n\n## Usage\n\ncommon.yaml:\n``` yaml\nkey:\n    subdict:\n        hidden: in native mode\n```\n\nnode.yaml:\n```\nkey:\n   subdict:\n       anotherkey: foo\n```\n\n``` puppet\n$value = hiera_hash_merge('key')\n$value['subdict']['hidden']\n```\n\n\n## Development\n\n```\nbundle install --path vendor/bundle\nbundle exec rake spec\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgandi%2Fpuppet-hiera-deep-merge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgandi%2Fpuppet-hiera-deep-merge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgandi%2Fpuppet-hiera-deep-merge/lists"}