sous-chefs / consul

Development repository for the consul cookbook
https://supermarket.chef.io/cookbooks/consul
Apache License 2.0
192 stars 244 forks source link

ARM not properly supported #354

Closed milanaleksic closed 8 years ago

milanaleksic commented 8 years ago

Problem: instead of downloading binary from https://releases.hashicorp.com/consul/0.7.0/consul_0.7.0_linux_arm.zip this recipe tries to download it from https://releases.hashicorp.com/consul/0.7.0/consul_0.7.0_linux_armv7l.zip

I see you are using kernel.machine, but on all my ARM servers that seems to be a wrong choice and probably the best would be to read just first 3 characters from this ohai value and if it's arm then download arm binary. What do you think?

Radxa Rock Pro

"host_cpu": "armv7l",

R Pi 1

"machine": "armv6l",

R Pi 3

"machine": "armv7l",

Arm 64

I don't have this one to try it out, sorry.

milanaleksic commented 8 years ago

I am sorry, I didn't see you are already having this possibly handled by https://github.com/johnbellone/consul-cookbook/pull/353 no need to duplicate, will close this issue

lock[bot] commented 4 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.