-
-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new eyaml_pkcs7_public/private_key params
This commit adds two new optional parameters. These are eyaml_pkcs7_public_key and eyaml_pkcs7_private_key. If specified, the values will be used in the generated hiera.yaml file. If not given, behaviour remains unchanged and the keys are assumed to be in the 'keysdir' directory. This change allows more complicated hiera eyaml configuration. For example, my current manually configured hiera.yaml contains... ``` :eyaml: :pkcs7_private_key: /etc/puppet/keys/%{::product}/private_key.pkcs7.pem :pkcs7_public_key: /etc/puppet/keys/public/%{::product}_key.pkcs7.pem ``` I have multiple sets of keys, (one pair per 'product'), and the private and public keys aren't in the same directory.
- Loading branch information
1 parent
588e760
commit 66743d3
Showing
4 changed files
with
109 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters