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

Can't set agent_package_version to latest #621

Open
genebean opened this issue Jan 11, 2023 · 3 comments
Open

Can't set agent_package_version to latest #621

genebean opened this issue Jan 11, 2023 · 3 comments
Assignees

Comments

@genebean
Copy link
Contributor

The way in which agent_package_revision is used breaks the ability to set the package version to latest because it is trying to append -<agent_package_revision> to the string latest

@c-bordon c-bordon self-assigned this Jan 18, 2023
@c-bordon
Copy link
Member

Hello genebean, the packages that puppet uses for the installation do not have a "latest" revision, the revision of the packages is always numeric, and in most cases, it is 1 which is the default value.

Puppet uses .deb or .rpm packages depending on the system to install the components.
Can you elaborate more on what you mean by the latests review?

@genebean
Copy link
Contributor Author

@c-bordon puppet has an option to set version to latest and, when set, the newest/latest version available to the package manager (yum, dnf, apt, etc.) is used. Setting to latest allows newer versions of a package to be automatically installed.

@c-bordon
Copy link
Member

Not using the puppet latests option is due to the design of our repository, where we have divided the puppet developments according to the Wazuh version. Although puppet development should not be tied to the Wazuh version, we do have specific changes to the configuration parameters that are affected by the Wazuh version to be installed.

For this reason, if you need to install Wazuh version 4.2.7 (the latest version of 4.2) you could use the 4.2 branch of the wazuh-puppet repository.

You need to work with the latest release of Wazuh, you can follow it from here https://github.com/wazuh/wazuh-puppet/releases/latest and work with the released tag

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