Skip to content

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.

3 participants