Update hashicorp apt sources #20

Merged
kazu634 merged 2 commits from hashicorp-apt-sources into main 2024-04-06 08:32:49 +00:00
6 changed files with 18 additions and 18 deletions
Showing only changes of commit cca3bc93d3 - Show all commits

View File

@ -1,9 +1,9 @@
# Install `Consul`: # apt source:
KEYSRV = "https://apt.releases.hashicorp.com/gpg" SRC = 'https://apt.releases.hashicorp.com/gpg'
ID = "AA16FCBCA621E701" DEST = '/usr/share/keyrings/hashicorp-archive-keyring.gpg'
execute "apt-key adv --keyserver #{KEYSRV} --recv-keys #{ID}" do execute "wget -O- #{SRC} | gpg --dearmor -o #{DEST}" do
not_if 'apt-key list | grep HashiCorp' not_if "test -e #{DEST}"
end end
# Retrieve the Ubuntu code: # Retrieve the Ubuntu code:

View File

@ -1 +1 @@
deb [arch=amd64] https://apt.releases.hashicorp.com <%= @distribution %> main deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com <%= @distribution %> main

View File

@ -1,9 +1,9 @@
# Install `Consul`: # apt source:
KEYSRV = "https://apt.releases.hashicorp.com/gpg" SRC = 'https://apt.releases.hashicorp.com/gpg'
ID = "AA16FCBCA621E701" DEST = '/usr/share/keyrings/hashicorp-archive-keyring.gpg'
execute "apt-key adv --keyserver #{KEYSRV} --recv-keys #{ID}" do execute "wget -O- #{SRC} | gpg --dearmor -o #{DEST}" do
not_if 'apt-key list | grep HashiCorp' not_if "test -e #{DEST}"
end end
# Retrieve the Ubuntu code: # Retrieve the Ubuntu code:

View File

@ -1 +1 @@
deb [arch=amd64] https://apt.releases.hashicorp.com <%= @distribution %> main deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com <%= @distribution %> main

View File

@ -1,9 +1,9 @@
# Install `Consul`: # apt source:
KEYSRV = "https://apt.releases.hashicorp.com/gpg" SRC = 'https://apt.releases.hashicorp.com/gpg'
ID = "AA16FCBCA621E701" DEST = '/usr/share/keyrings/hashicorp-archive-keyring.gpg'
execute "apt-key adv --keyserver #{KEYSRV} --recv-keys #{ID}" do execute "wget -O- #{SRC} | gpg --dearmor -o #{DEST}" do
not_if 'apt-key list | grep HashiCorp' not_if "test -e #{DEST}"
end end
# Retrieve the Ubuntu code: # Retrieve the Ubuntu code:

View File

@ -1 +1 @@
deb [arch=amd64] https://apt.releases.hashicorp.com <%= @distribution %> main deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com <%= @distribution %> main