-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update YAML configuration file examples of qa-ctl use guide documentation #2071
Comments
As for now, this is the new YAML configuration examples approach. As it can be seen, more examples were added in order to cover all possible use cases for every section. YAML configuration file examplesNow, there are going to be shown some examples of YAML files separated by use cases. Deployment section
Provision sectionFor all of the next examples, the Wazuh branch from where the QA framework will be downloaded is Wazuh Manager case uses
Wazuh Agent case uses
Testing section
|
There are some things worth mentioning:
|
As for now, this is the new YAML configuration examples approach. As it can be seen, more examples were added to cover all possible use cases for every section. YAML configuration file examplesNow, there are going to be shown some examples of YAML files separated by use cases. Deployment sectionThe most mentionable fields for the deployment section are
Provision sectionThis yaml section has three different sub-sections: Host info sectionThis section contains the necessary information for being able to make a connection with the host where the provisioning stage is going to be made. The yaml configuration host_info:
connection_method: ssh # Or winrm for windows virtual machines
user: vagrant
password: vagrant
connection_port: 22
ansible_python_interpreter: /usr/bin/python3
system: deb # This field changes depending on the system of the VM
installation_files_path: /tmp
host: 10.150.50.2 # IP from the VM
Wazuh deployment sectionThis section handles all the info needed for provisioning the VM host with
QA framework sectionThis section is used for provisioning the host with the Framework of QA. The example given below is a generic one that will use the yaml configuration qa_framework:
wazuh_qa_branch: master
qa_workdir: /tmp/wazuh_qa_ctl Testing sectionThe Testing is composed with an always required
Complete YAML configuration files examplesHere you can find some examples of YAML configuration files that are fully completed on every section and ready to use.
|
The current YAML configuration file examples given in the use guide documentation for
qa-ctl
were created for a previous version of the tool, so these examples aren't working when using them as configuration files for the new version. It is needed to update the examples of the documentation so they can be used without any possible errorsThe text was updated successfully, but these errors were encountered: