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

Allow pinned version install on multiple platforms at the same time #235

Merged
merged 5 commits into from
Dec 12, 2019

Conversation

KSerrania
Copy link
Contributor

What does this PR do?

Changes the behavior of the role if datadog_agent_version is specified: in that case, the Agent version is parsed into <epoch>:<major>.<minor>.<bugfix><suffix>-<release> (epoch, suffix and release are optional), and default values are applied to epoch (1) and release (1).

Then, per-OS version names are derived:
Debian and SUSE: <epoch>:<major>.<minor>.<bugfix><suffix>-<release>
Redhat: <major>.<minor>.<bugfix><suffix>-<release>
Windows: <major>.<minor>.<bugfix><suffix>
which are then used for the install.

Motivation

Being able to install a pinned version on different OSes at the same time, which was not possible before.

@albertvaka albertvaka changed the base branch from master to kserrania/agent7-support December 12, 2019 11:52
@albertvaka albertvaka changed the base branch from kserrania/agent7-support to master December 12, 2019 11:54
@KSerrania KSerrania merged commit f31ab63 into master Dec 12, 2019
@KSerrania KSerrania deleted the kserrania/agent-version-inference branch December 12, 2019 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants