athenahealth / puppet-vault

Puppet module to manage Vault (https://vaultproject.io)
Apache License 2.0
0 stars 2 forks source link

make header in systemd service file configurable, with sane default #7

Open abotelho-cbn opened 1 year ago

abotelho-cbn commented 1 year ago

SUMMARY

Create a parameter that makes the template header configurable. Modify what was already there to be a bit simpler and saner.

In our environment, we have a global Puppet template header string that is set in all files generated by Puppet templates. We will actually be overriding the default I've put in this commit in our environment, because we have something that is more specific to us. I've already tested it without the override, and with the override in hieradata which looks something like this:

vault::vault_template_header: "%{::puppet_template_header}"