From 9edd0603678bbeaab0c602f7503afc7c99de2f61 Mon Sep 17 00:00:00 2001 From: Ben Vincent Date: Sat, 11 May 2024 21:45:24 +1000 Subject: [PATCH] feat: deep merge /etc/hosts - allow managing /etc/hosts on multiple levels of hiera --- hieradata/common.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hieradata/common.yaml b/hieradata/common.yaml index cc16e0e..dcc73a2 100644 --- a/hieradata/common.yaml +++ b/hieradata/common.yaml @@ -93,6 +93,9 @@ lookup_options: profiles::puppet::server::dns_alt_names: merge: strategy: deep + profiles::base::hosts::additional_hosts: + merge: + strategy: deep facts_path: '/opt/puppetlabs/facter/facts.d'