Support arm64 on linux
mattlqx opened this issue Β· comments
Matt Kulka commented
π» Brief Description
Running the consul cookbook to do a binary installation of consul on an arm64 host fails to properly formulate the url for download.
* consul_installation[1.8.3] action create
* directory[/opt/consul/1.8.3] action create
- create new directory /opt/consul/1.8.3
- change mode from '' to '0755'
* poise_archive[https://releases.hashicorp.com/consul/1.8.3/consul_1.8.3_linux_aarch64.zip] action unpack
* remote_file[/tmp/kitchen/cache/aHR0cHM6Ly9yZWxlYXNlcy5oYXNoaWNvcnAuY29tL2NvbnN1bC8xLjguMy9jb25zdWxfMS44LjNfbGludXhfYWFyY2g2NC56aXA_consul_1.8.3_linux_aarch64.zip] action create[2020-09-30T21:22:47+00:00] WARN: remote_file[/tmp/kitchen/cache/aHR0cHM6Ly9yZWxlYXNlcy5oYXNoaWNvcnAuY29tL2NvbnN1bC8xLjguMy9jb25zdWxfMS44LjNfbGludXhfYWFyY2g2NC56aXA_consul_1.8.3_linux_aarch64.zip] cannot be downloaded from https://releases.hashicorp.com/consul/1.8.3/consul_1.8.3_linux_aarch64.zip: 403 "Forbidden"
A uname -a
for the host shows:
Linux ip-172-30-0-108 5.4.0-1025-aws #25~18.04.1-Ubuntu SMP Fri Sep 11 20:29:55 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux
π₯ Cookbook version
4.0.5
π©βπ³ Chef-Infra Version
14.15.6
π© Platform details
AWS (t4g.medium), Ubuntu 18.04
Steps To Reproduce
Steps to reproduce the behavior:
- Run cookbook with default settings on this platform.
π Expected behavior
Consul properly gets installed and configured.
β Additional context
I'll have a PR for this shortly.