maybe chmod 0644 'puppetlabs/puppet/hiera.yaml'
maybe chmod 0644 'puppetlabs/puppet/puppet.conf'
maybe chmod 0644 'puppetlabs/puppet/puppetdb.conf'
+maybe chown 'puppet' 'puppetlabs/puppet/secure'
+maybe chgrp 'puppet' 'puppetlabs/puppet/secure'
+maybe chmod 0755 'puppetlabs/puppet/secure'
+maybe chown 'puppet' 'puppetlabs/puppet/secure/keys'
+maybe chgrp 'puppet' 'puppetlabs/puppet/secure/keys'
+maybe chmod 0500 'puppetlabs/puppet/secure/keys'
+maybe chown 'puppet' 'puppetlabs/puppet/secure/keys/private_key.pkcs7.pem'
+maybe chgrp 'puppet' 'puppetlabs/puppet/secure/keys/private_key.pkcs7.pem'
+maybe chmod 0400 'puppetlabs/puppet/secure/keys/private_key.pkcs7.pem'
+maybe chown 'puppet' 'puppetlabs/puppet/secure/keys/public_key.pkcs7.pem'
+maybe chgrp 'puppet' 'puppetlabs/puppet/secure/keys/public_key.pkcs7.pem'
+maybe chmod 0400 'puppetlabs/puppet/secure/keys/public_key.pkcs7.pem'
maybe chown 'puppet' 'puppetlabs/puppet/ssl'
maybe chgrp 'puppet' 'puppetlabs/puppet/ssl'
maybe chmod 0771 'puppetlabs/puppet/ssl'
---
:backends:
+ - eyaml
- yaml
- json
:yaml:
- "nodes/%{::trusted.certname}"
- "virtual/%{::virtual}"
- "common"
-# :merge_behavior: deeper
+:merge_behavior: deeper
+:eyaml:
+ :datadir: "/etc/puppetlabs/code/environments/%{::environment}/hieradata"
+ :extension: 'yaml'
+ :pkcs7_private_key: /etc/puppetlabs/puppet/secure/keys/private_key.pkcs7.pem
+ :pkcs7_public_key: /etc/puppetlabs/puppet/secure/keys/public_key.pkcs7.pem
# :deep_merge_options:
# :knockout_prefix: '--'
--- /dev/null
+-----BEGIN RSA PRIVATE KEY-----
+MIIEpgIBAAKCAQEAxJWUYjSZKPxDwQy/janPlAcs+7YrY2IvLwyDea1OPdxJ1hoL
+NUYhNuH5c2VySkbEBhkHfPgNb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