diff options
Diffstat (limited to '')
-rw-r--r-- | manifests/puppetserver.pp | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/manifests/puppetserver.pp b/manifests/puppetserver.pp index 34ab2c4..0dc25a1 100644 --- a/manifests/puppetserver.pp +++ b/manifests/puppetserver.pp @@ -1,5 +1,22 @@ class profiles::puppetserver ( - Hash $hiera, + Hash $hiera = { + 'version' => 5, + 'defaults' => { + 'datadir' => '/puppet', + }, + 'hierarchy' => [ + { + 'name' => 'Data', + 'data_hash' => 'yaml_data', + 'paths' => [ + 'nodes/%{trusted.certname}.yaml', + 'os/name/%{facts.os.name}.yaml', + 'os/family/%{facts.os.family}.yaml', + 'common.yaml', + ], + } + ] + }, ) { if defined(Class['profiles::puppetagent']) { |