As a user of a RHEL-derivative platform, e.g. SuSE or Amazon Linux, I should be able to install the official Sensu packages for RHEL.
Current Behavior
The _linux recipe currently configures yum repositories with a baseurlvalue that includes the $releasever variable in a way that can't be overriden. On RHEL-derivative platforms the value of $releasever does not align with the major versions of RHEL, e.g. 6 or 7, making it impossible to retrieve packages from the official repository using this cookbook.
Possible Solution
Implement an attribute similar to apt_repo_codename which can be used to override $releasever in the value of yum repository baseurl parameter.
Steps to Reproduce (for bugs)
Attempt to use default recipe on Amazon Linux or SuSE
Context
Relates to #560
Your Environment
Version of this cookbook used: 4.0.0
Version of Sensu used: N/A
Version of Chef used: 12.39
Operating System and version (e.g. CentOS 7, Ubuntu 14.04): Amazon Linux 2016.09
Expected Behavior
As a user of a RHEL-derivative platform, e.g. SuSE or Amazon Linux, I should be able to install the official Sensu packages for RHEL.
Current Behavior
The
_linux
recipe currently configures yum repositories with abaseurl
value that includes the$releasever
variable in a way that can't be overriden. On RHEL-derivative platforms the value of$releasever
does not align with the major versions of RHEL, e.g.6
or7
, making it impossible to retrieve packages from the official repository using this cookbook.Possible Solution
Implement an attribute similar to
apt_repo_codename
which can be used to override$releasever
in the value of yum repositorybaseurl
parameter.Steps to Reproduce (for bugs)
Context
Relates to #560
Your Environment