Skip to content

acceptance: add hiera-eyaml v5 backend test#399

Merged
nmburgan merged 1 commit intomainfrom
hiera_eyaml_test
Apr 15, 2026
Merged

acceptance: add hiera-eyaml v5 backend test#399
nmburgan merged 1 commit intomainfrom
hiera_eyaml_test

Conversation

@nmburgan
Copy link
Copy Markdown
Member

@nmburgan nmburgan commented Apr 15, 2026

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:

  • read the CONTRIBUTING.md document
  • read and accepted the Developer Certificate of Origin document and added a Signed-off-by annotation to each of my commits
  • tested this code
  • included documentation (including possible behaviour changes)
  • documented the code
  • added or modified regression test(s)
  • added or modified unit test(s)

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>
@nmburgan nmburgan merged commit 8c8c75e into main Apr 15, 2026
33 of 41 checks passed
@nmburgan nmburgan deleted the hiera_eyaml_test branch April 15, 2026 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants