sensu / sensu-chef

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

Use the new repos #573

Closed majormoses closed 7 years ago

majormoses commented 7 years ago

Per: https://blog.sensuapp.org/deprecated-sensu-repositories-to-be-shut-down-52928d82fa2e we should be using the new repo

Expected Behavior

New users get new repos, pinned cookbooks remain unaffected.

Current Behavior

All users get old repo by default

Possible Solution

Update to use new URLs with a breaking change to be safe.

Context

https://blog.sensuapp.org/deprecated-sensu-repositories-to-be-shut-down-52928d82fa2e

I am more than happy to submit a PR for this.

cwjohnston commented 7 years ago

Up to this point I haven't been actively pushing for this change everywhere because not all platforms have full support for Server Name Indication or accepting subjectAltName when verifying certificates.

Those concerns aside, this seems reasonable to me. I think we'll need to ensure that apt-transport-https package is installed on Debian/Ubuntu. Not sure if there are similar concerns with regard to older RedHat derivatives.

cwjohnston commented 7 years ago

Oops, I misunderstood which blogpost we're talking about, but my comment re: apt-transport-https stands.

In this more recent post we announced updates to the existing repositories.sensuapp.org repositories: https://blog.sensuapp.org/announcement-sensu-core-repositories-adding-https-ipv6-and-http-2-support-8480005b5ea4

These changes mean that https://repositories.sensuapp.org should now work, provided the platform in question supports SNI or certificate subjectAltName.

majormoses commented 7 years ago

Bringing the outcome of the conversation in slack here. The repos used here are the correct repos, the install documentation should be updated to reflect this. Between the blog post I referenced and the documentation matching I assumed that this needed change when it appears to be the other way around.