Page MenuHomeDevCentral

Handle ssh_keys_by_forest and everywhere_tasks in pillar users test
ClosedPublic

Authored by dereckson on Sep 11 2025, 22:11.
Tags
None
Referenced Files
F12318268: D3659.id9717.diff
Thu, Oct 23, 04:56
F12317681: D3659.id9481.diff
Thu, Oct 23, 01:20
F12316457: D3659.id9481.diff
Wed, Oct 22, 19:49
Unknown Object (File)
Tue, Oct 21, 22:43
Unknown Object (File)
Mon, Oct 20, 13:31
Unknown Object (File)
Sat, Oct 18, 19:07
Unknown Object (File)
Sat, Oct 18, 10:53
Unknown Object (File)
Sat, Oct 18, 03:16
Subscribers
None

Details

Summary

SSH keys for users were previously defined in ssh_keys option.
They can nowadays also be defined in ssh_keys_by_forest.
At least one of those is mandatory.

Commit 105e8404727a introduced that mechanism, but tests weren't updated.

Commit 776470ac99d2 was the first to use ssh_keys_by_forest
and so broke this test suite.

Also, everywhere_tasks is a valid parameter
used by userland-home unit from core role.

This is a follow-up for 105e8404727a.
This is a follow-up for e2f76901ab5f.

Ref T2123

Test Plan

(cd _tests && python -m unittest discover pillar)

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Errors
SeverityLocationCodeMessage
Error_tests/pillar/core/test_users.py:63E501flake8 E501
Unit
No Test Coverage
Branch
main
Build Status
Buildable 5861
Build 6143: arc lint + arc unit

Event Timeline

dereckson created this revision.
dereckson retitled this revision from Handle ssh_keys_by_forest in pillar users test to Handle ssh_keys_by_forest and everywhere_tasks in pillar users test.Sep 12 2025, 17:30
dereckson edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Mon, Oct 13, 14:46