diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-05-02 22:28:25 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-05-03 12:12:12 +0200 |
commit | 687efad6197ce4a9b8a34582ac74218a2838d5ec (patch) | |
tree | 83d0cfdc0aa4a1ceefb331f27023851a496a76ff | |
parent | Change kibana to ipv6. (diff) | |
download | profiles-687efad6197ce4a9b8a34582ac74218a2838d5ec.tar.gz profiles-687efad6197ce4a9b8a34582ac74218a2838d5ec.tar.xz |
Puppetserver: add default hiera configuration.
Diffstat (limited to '')
-rw-r--r-- | data/common.pp | 12 | ||||
-rw-r--r-- | manifests/puppetserver.pp | 2 |
2 files changed, 12 insertions, 2 deletions
diff --git a/data/common.pp b/data/common.pp new file mode 100644 index 0000000..ac407dc --- /dev/null +++ b/data/common.pp @@ -0,0 +1,12 @@ +profiles::puppetserver::hiera: + version: 5 + defaults: + datadir: "/puppet" + hierarchy: + - name: Data + data_hash: yaml_data + paths: + - nodes/%{literal('%')}{trusted.certname}.yaml + - os/name/%{literal('%')}{facts.os.name}.yaml + - os/family/%{literal('%')}{facts.os.family}.yaml + - common.yaml diff --git a/manifests/puppetserver.pp b/manifests/puppetserver.pp index 20bb69d..34ab2c4 100644 --- a/manifests/puppetserver.pp +++ b/manifests/puppetserver.pp @@ -1,6 +1,4 @@ class profiles::puppetserver ( - # TODO provide sensible default here, to allow us to bootstrap - # ourselves Hash $hiera, ) { |