acceptance: add hiera-eyaml v5 backend test#399
Merged
Conversation
Exercise the eyaml_lookup_key function end-to-end on a primary plus agents setup. Generates a PKCS7 keypair with the bundled eyaml CLI, configures a v5 hierarchy that mixes encrypted scalars, encrypted values nested in hashes, plaintext values living inside an eyaml file, a plain YAML fallback layer, and a class parameter key for automatic class-parameter lookup. Asserts that puppet lookup and a full agent run both decrypt the values and that ciphertext never leaks through. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: nmburgan <13688219+nmburgan@users.noreply.github.com>
corporate-gadfly
approved these changes
Apr 15, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Exercise the eyaml_lookup_key function end-to-end on a primary plus agents setup. Generates a PKCS7 keypair with the bundled eyaml CLI, configures a v5 hierarchy that mixes encrypted scalars, encrypted values nested in hashes, plaintext values living inside an eyaml file, a plain YAML fallback layer, and a class parameter key for automatic class-parameter lookup. Asserts that puppet lookup and a full agent run both decrypt the values and that ciphertext never leaks through.
Tested at https://github.com/OpenVoxProject/openvox/actions/runs/24466452149/job/71494805014 and fails as expected with agent 8.26.0 and server 8.12.1.
Checklist
I have:
Signed-off-byannotation to each of my commits