You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After tagging the unified-unattended installer, we will move forward for including some improvements described in the following issues:
The unattended installer should be released as a single artifact. All modules (libraries, resources, templates) must be joined into the mentioned artifact. The unattended installer development doesn't change, but a new tool for this artifact building must be created.
All module functions must start with the name module prefix. (i.e. indexer_configureCertificates).
All distributed messages must be reviewed, guiding the user to an unattended installation. Those messages must have links to documentation but, in addition to this, must be self-explained and could avoid the users going to the documentation for checking.
Error messages must explain what is happening and links to the documentation, dependencies/requirement section.
The unattended installer must detect the OS and check if it's compatible. Links to documentation are needed.
Improve the error handling including set -Eeuxo pipefail, using traps, and including more fail information, like line number, error code, etc. (reference)
Use printf instead of echo.
Functions must return true or error code.
Don't assume terminal capabilities. Check if $TERM is set as unknown, untested, or whatever. Don't use control codes like scape chars, tputs, etc.
alberpilot
changed the title
Wazuh unattended installer - Second iteration with improvements
Unattended installer - Second iteration with improvements
Feb 7, 2022
After tagging the unified-unattended installer, we will move forward for including some improvements described in the following issues:
indexer_configureCertificates
).set -Eeuxo pipefail
, using traps, and including more fail information, like line number, error code, etc. (reference)printf
instead ofecho
.$TERM
is set as unknown, untested, or whatever. Don't use control codes like scape chars, tputs, etc.Tasks
set -Eeuxo pipefail
.echo
replacement byprintf
.$TERM
status and avoid control codes.-o
to wazuh-cert-tool and chose the output folder.Tentative
unattended
andstep-by-step
process #968The text was updated successfully, but these errors were encountered: