changeset 482:d83de9b3a62b default tip

Update hiera.yaml within Puppet config Forgot that we manage it from here. Now has content to match new packages
author IBBoard <dev@ibboard.co.uk>
date Fri, 30 Aug 2024 16:10:36 +0100
parents 36eacac6bf5e
children
files manifests/templates.pp
diffstat 1 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/manifests/templates.pp	Fri Aug 30 16:02:54 2024 +0100
+++ b/manifests/templates.pp	Fri Aug 30 16:10:36 2024 +0100
@@ -26,9 +26,17 @@
 
 	file { '/etc/puppet/hiera.yaml':
 		ensure => present,
-		content => "
-# Let the system set defaults
+		content => "---
+# Hiera 5 Global configuration file
+
 version: 5
+
+# defaults:
+#   data_hash: yaml_data
+# hierarchy:
+#  - name: Common
+#    data_hash: yaml_data
+hierarchy: []
 ",
 	}
 	service { 'puppet':