Skip to content

Wrong parameter being used #1033

@Fabian1976

Description

@Fabian1976

On this line:

ensure => $zabbix_version,

The wrong parameter is being used.

The parameter zabbix_version is supposed to be the "major" release of Zabbix (so 6.0 for example). The parameter zabbix_package_state has the actual version (6.0.40 for example).

So now it tries to install zabbix-agent-6.0 and we get errors like this:

Error: Could not update: Execution of 'C:\ProgramData\chocolatey\choco.exe upgrade zabbix-agent --version 6.0 -y  --ignore-package-exit-codes --no-progress' returned 1: Chocolatey v0.10.15
Upgrading the following packages:
zabbix-agent
By upgrading you accept licenses for the packages.
A newer version of zabbix-agent (v6.0.40) is already installed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions