hashicorp / consul-esm

External service monitoring for Consul
Mozilla Public License 2.0
263 stars 41 forks source link

Add Consul-ESM to Hashcorp linux packages repo #104

Open spuder opened 3 years ago

spuder commented 3 years ago

Hashicorp has a linux repo that makes it very easy to install most hashicorp packages. It is not currently possible to install consul-esm using apt.

https://www.hashicorp.com/blog/announcing-the-hashicorp-linux-repository

Here I'm able to install packer using the linux repo

udo apt install packer
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  packer
0 upgraded, 1 newly installed, 0 to remove and 96 not upgraded.
Need to get 29.1 MB of archives.
After this operation, 127 MB of additional disk space will be used.
Get:1 https://artifactory.example.com/debian-remote.hashicorp bionic/main amd64 packer amd64 1.6.6 [29.1 MB]
Fetched 29.1 MB in 2s (12.5 MB/s)
Selecting previously unselected package packer.
(Reading database ... 181950 files and directories currently installed.)
Preparing to unpack .../packer_1.6.6_amd64.deb ...
Unpacking packer (1.6.6) ...
sudo apt remove packerSetting up packer (1.6.6) ...

But unable to install consul-esm the same way

sudo apt install consul-esm
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package consul-esm

It appears that at least some of the work of adding it to the linux repo is done, since consul-esm appears on the releases page

https://releases.hashicorp.com/

Please make it so end users can run apt install consul-esm.

lornasong commented 3 years ago

@spuder - thanks for sharing your interest in this feature! Adding support for the linux repo is done by one of our internal teams and not done in the repo of the product itself. I have shared your feature request internally. I'll leave this issue open so that I can follow up with you any news that I hear. Let me know if you have any questions. Thanks!

vyanamandra commented 8 months ago

I was able to install consul-esm with apt.

(venv) root@ip-172-31-18-50:~# apt info consul-esm -a 2>/dev/null | egrep 'Package|Version'
Package: consul-esm
Version: 0.7.1-1
APT-Sources: https://apt.releases.hashicorp.com jammy/main amd64 Packages
Package: consul-esm
Version: 0.7.0-1
APT-Sources: https://apt.releases.hashicorp.com jammy/main amd64 Packages
Package: consul-esm
Version: 0.6.2-1
APT-Sources: https://apt.releases.hashicorp.com jammy/main amd64 Packages
Package: consul-esm
Version: 0.6.1-1
APT-Sources: https://apt.releases.hashicorp.com jammy/main amd64 Packages
(venv) root@ip-172-31-18-50:~#