sensu / sensu-go-chef

Chef Library Cookbook for Sensu Go
https://sensu.io
MIT License
11 stars 22 forks source link

Agent Install Fails on CentOS/RHEL8 due to upstream packagecloud cookbook #137

Open wduncanfraser opened 3 years ago

wduncanfraser commented 3 years ago

Chef Version

16

Description

Upstream packagecloud cookbook attempts to use yum commands on any rpm based distro, which will cause any newer redhat distro with dnf to fail.

https://github.com/computology/packagecloud-cookbook/pull/59 has been open since 2019, which fixes the issues, however it looks like the packagecloud cookbook is no longer maintained.

derekgroh commented 3 years ago

Have you confirmed that #59 resolves the issue by merging it into your local branch and uploading the cookbook to replace the current version?

wduncanfraser commented 3 years ago

@derekgroh Just validated, forked the packagecookbook and brought in that PR.

Adding it to my policyfile via:

cookbook 'packagecloud', github: 'alasconnect/packagecloud-cookbook', branch: 'centos-fix'

Fixes the converge issues on RHEL8.

derekgroh commented 3 years ago

Good to hear, unfortunately, we don't have any method to force an abandoned cookbook to be updated.

The best option would be for sous-chefs to adopt it, but unless the maintainers release it, the only other option is a renamed fork.

majormoses commented 3 years ago

Good to hear, unfortunately, we don't have any method to force an abandoned cookbook to be updated.

The best option would be for sous-chefs to adopt it, but unless the maintainers release it, the only other option is a renamed fork.

If you need any help with that I can get you in touch with some sous-chef maintainers. I am part of the group although I don't spend much time in chef these days so I have not been super active in keeping up to date on the latest and greatest.