Closed Rebits closed 1 year ago
Meeting with @BelenValdivia about:
qa-system-framework
repositoryHostManager
and WazuhManager
classesbelen@belen-VirtualBox:~/Repositories/qa-system-framework$ ansible all -m ping -i inventory.yml
manager1 | SUCCESS => {
"ansible_facts": {
"discovered_interpreter_python": "/usr/libexec/platform-python"
},
"changed": false,
"ping": "pong"
}
agent1 | SUCCESS => {
"ansible_facts": {
"discovered_interpreter_python": "/usr/libexec/platform-python"
},
"changed": false,
"ping": "pong"
}
belen@belen-VirtualBox:~/Repositories/qa-system-framework$ python3
Python 3.10.6 (main, Mar 10 2023, 10:55:28) [GCC 11.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from wazuh_qa_framework.system.host_manager import HostManager
>>> hm = HostManager('inventory.yml')
>>> hm.check_connection('agent1')
True
>>> hm.check_connection('manager1')
True
Applied requested changes in the pull request:
Research about blockinfile on Windows OS
system-test
Description
In the development branch, we have implemented a comprehensive set of fundamental methods for system and E2E host handling within the HostManager class. This class plays a pivotal role in facilitating remote low-level operations on designated hosts by utilizing the provided inventory.
However, it is crucial to conduct a thorough assessment to determine whether additional methods should be incorporated to ensure complete support for all system tests.
To Do