Giter Club home page Giter Club logo

Comments (4)

davidcr01 avatar davidcr01 commented on June 8, 2024

Hello.

Yes, the behavior you comment is the expected behavior. We add and remove the Wazuh APT/RPM repository to avoid upgrading a Wazuh component accidentally.

If the repository is kept in the source list and if you run the apt-get upgrade or the yum upgrade command, you could upgrade a Wazuh component (indexer, manager, dashboard, or agent in your specific case) accidentally, and this could lead to a non-desirable environment or configuration. We prefer that the user manually upgrades a Wazuh component when it is actually the desired action.

from wazuh-ansible.

lupa95 avatar lupa95 commented on June 8, 2024

Hey, thank you for the clarification.

I understand that accidently upgrading Wazuh components is a risk, but removing the repository source to prevent that does not seem to be a great solution to me.

What do you think about locking the package version in the package manager (Something like apt-mark hold or yum version-lock)?

You would need some additional tasks that do the unlock/lock operations when you actually upgrade the version via Ansible, but this should solve the idempotency issue and keep hosts safe from getting their Wazuh components unintentionally upgraded.

from wazuh-ansible.

davidcr01 avatar davidcr01 commented on June 8, 2024

Hello.

From the team, we do not have plans to change the way this is performed. I kindly suggest you open a Pull Request to perform the necessary changes and the team will review it and merge it if applicable. https://github.com/wazuh/wazuh-ansible/pulls

from wazuh-ansible.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.