Skip to content

Development - Puppet - Customization of configuration files #1222

@vcerenu

Description

@vcerenu

Description

Currently all files that need to be edited for installation use erb templates to replace the data with the variables that are required. As a requirement we cannot have templates within the installation repositories, so these templates cannot be used.
To solve this problem, it is necessary to investigate the possibility of generating a class or function that allows the customization of configuration files, trying to solve the limitations that Puppet has regarding the creation of classes that try to work with files that are not generated on the server at the time of configuration, even if there are previous steps that generate them.

Important

The Puppet deployment will only allow to customize the basic parameters needed for the environment to work with the default configuration. Additionally, the deployment must be adapted to the Wazuh 5.0.0 changes.

Tasks

  • Verify the possibility of generating classes or functions that edit configuration files that are generated during the deployment process.
  • Generate the class or function for editing all configuration files of Wazuh components.
  • Adapt the deployment to the Wazuh 5.0.0 changes.
  • Verify the correct deployment, maintaining idempotency.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions