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
Unknown Object (File)
Wed, Feb 25, 02:19
Unknown Object (File)
Tue, Feb 24, 22:29
Unknown Object (File)
Tue, Feb 24, 21:41
Unknown Object (File)
Mon, Feb 23, 10:56
Unknown Object (File)
Mon, Feb 23, 00:26
Unknown Object (File)
Mon, Feb 23, 00:26
Unknown Object (File)
Sun, Feb 22, 09:13
Unknown Object (File)
Fri, Feb 20, 22:20
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.Oct 13 2025, 14:46