Skip to content

Yum package versioning is busted #623

Description

@sspans

Yum package versioning is busted because epoch is not used

Expected Behavior

The expected sensu version is installed.

Current Behavior

When upgrading to chef 14, the symptom is continual reinstallations of the sensu package. Which also seems to indicate busted version comparisons for yum_package.

Possible Solution

According to chef/chef#7552 this should be fixed by adding the epoch to the desired version.

Optionally I would suggest installing the package directly, without configuring a yum repository. The current setup breaks when somebody does a 'yum upgrade' because this will pull in newer versions of the sensu packages.

Context

Your Environment

  • Version of this cookbook used: latest
  • Version of Sensu used: 1.2.0
  • Version of Chef used: 14.5
  • Operating System and version (e.g. CentOS 7, Ubuntu 14.04): CentOS 7.5
  • Link to your project:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions