sensu / sensu-chef

Sensu Chef cookbook.
https://supermarket.chef.io/cookbooks/sensu
Apache License 2.0
221 stars 280 forks source link

[enterprise_dashboard] use "1:" prefixed package version on debian #517

Closed cwjohnston closed 7 years ago

cwjohnston commented 7 years ago

Description

This change uses the platform_family attribute to ensure the epoch-prefixed version string is used by default on Debian platforms.

Motivation and Context

Issue #512 indicates that the current default for the enterprise dashboard's version attribute does not work on Ubuntu.

Commit d4b37885c5bf016b5aec9a0fe59b97e0a204bc9f removed the epoch ("1:") prefix from default version of dashboard package. This is unsuitable for Debian platforms where dashboard package versions still contain this prefix.

Closes #512

How Has This Been Tested?

Tested centos and ubuntu enterprise-dashboard suites in test-kitchen

Screenshots (if appropriate):

Types of changes

Checklist: