Skip to content
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

Unattended installer - Second iteration with improvements #1223

Open
6 of 23 tasks
alberpilot opened this issue Jan 31, 2022 · 0 comments
Open
6 of 23 tasks

Unattended installer - Second iteration with improvements #1223

alberpilot opened this issue Jan 31, 2022 · 0 comments

Comments

@alberpilot
Copy link
Contributor

alberpilot commented Jan 31, 2022

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.

Tasks

Tentative

@verdx verdx assigned verdx and unassigned verdx Feb 1, 2022
@alberpilot alberpilot pinned this issue Feb 4, 2022
@alberpilot alberpilot changed the title Wazuh unattended installer - Second iteration with improvements Unattended installer - Second iteration with improvements Feb 7, 2022
@alberpilot alberpilot unpinned this issue Apr 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants