Page MenuHomeDevCentral

Handle ssh_keys_by_forest and everywhere_tasks in pillar users test
Needs ReviewPublic

Authored by dereckson on Thu, Sep 11, 22:11.
Tags
None
Referenced Files
F11708956: D3659.diff
Sat, Sep 13, 07:57
F11707583: D3659.id9481.diff
Sat, Sep 13, 02:52
F11706865: D3659.diff
Sat, Sep 13, 00:03
F11701954: D3659.id9482.diff
Fri, Sep 12, 17:23
F11701765: D3659.diff
Fri, Sep 12, 16:40
F11700468: D3659.diff
Fri, Sep 12, 14:02
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.Fri, Sep 12, 17:30
dereckson edited the summary of this revision. (Show Details)