diff options
author | mail_redacted_for_web | 2015-08-03 14:44:35 -0700 |
---|---|---|
committer | mail_redacted_for_web | 2015-08-03 14:49:06 -0700 |
commit | 437433ff44cd77915a4a7b1d61d7aa624c44b41a (patch) | |
tree | 532249eb2bd88efcb2651498c880b91d5312a6cb /site | |
parent | bc6bae23d79aed7b05ac018496b8cddc02fe4fba (diff) | |
download | control-repo-template-437433ff44cd77915a4a7b1d61d7aa624c44b41a.tar.bz2 |
Remove hiera.yaml and instead manage it with puppet code
Added hunner/hiera to the Puppetfile and a manifest to use it
instead of placing a hiera.yaml in the repo.
Diffstat (limited to 'site')
-rw-r--r-- | site/profile/manifests/puppetmaster.pp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/site/profile/manifests/puppetmaster.pp b/site/profile/manifests/puppetmaster.pp new file mode 100644 index 0000000..8242110 --- /dev/null +++ b/site/profile/manifests/puppetmaster.pp @@ -0,0 +1,14 @@ +class profile::puppetmaster { + + class { 'hiera': + hierarchy => [ + "nodes/%{::trusted.certname}", + :common", + ], + hiera_yaml => '/etc/puppetlabs/code/hiera.yaml', + datadir => "/etc/puppetlabs/code/environments/%{environment}/hieradata", + owner => 'root', + group => 'root', + } + +} |