Actions
action #51227
closedcoordination #51224: [qe-core][functional][epic] Unify code logic for systemd related functionality
[functional][u] Move function systemctl from lib/utils.pm to lib/Utils/Systemd.pm
Status:
Resolved
Priority:
Normal
Assignee:
Category:
Enhancement to existing tests
Target version:
SUSE QA (private) - Milestone 26
Start date:
2019-05-07
Due date:
% Done:
0%
Estimated time:
Difficulty:
Description
Motivation¶
utils.pm is too big.
Acceptance criteria¶
- AC1: The function systemctl is only defined in Utils::Systemd
- AC2: All modules that use systemctl are verified to work (
use Utils::Systemd 'systemctl'
) - AC3: All modules that use systemctl have a specific function import for utils (like
use utils 'zypper_call';
) - AC4: None of the modules that use systemctl have a generic import for utils (
use utils;
)
Further details¶
There is an existing function called systemctl from lib/utils.pm
This function is used by many modules.
This ticket is about moving the existing systemctl function into the new library Utils::Systemd.
Actions