From 6f18eed04eaf837136eb129a9fb920bd6b544670 Mon Sep 17 00:00:00 2001 From: Kazuhiro MUSASHI Date: Sat, 28 Jan 2023 10:34:06 +0900 Subject: [PATCH] Change the public key of HashiCorp apt key. --- cookbooks/consul/install.rb | 2 +- cookbooks/nomad/install.rb | 2 +- cookbooks/vault/install.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cookbooks/consul/install.rb b/cookbooks/consul/install.rb index ebfac5e..7f0abd1 100644 --- a/cookbooks/consul/install.rb +++ b/cookbooks/consul/install.rb @@ -1,6 +1,6 @@ # Install `Consul`: KEYSRV = "https://apt.releases.hashicorp.com/gpg" -ID = "A3219F7B" +ID = "AA16FCBCA621E701" execute "apt-key adv --keyserver #{KEYSRV} --recv-keys #{ID}" do not_if 'apt-key list | grep HashiCorp' diff --git a/cookbooks/nomad/install.rb b/cookbooks/nomad/install.rb index 69a72b2..fbe61ab 100644 --- a/cookbooks/nomad/install.rb +++ b/cookbooks/nomad/install.rb @@ -1,6 +1,6 @@ # Install `Consul`: KEYSRV = "https://apt.releases.hashicorp.com/gpg" -ID = "A3219F7B" +ID = "AA16FCBCA621E701" execute "apt-key adv --keyserver #{KEYSRV} --recv-keys #{ID}" do not_if 'apt-key list | grep HashiCorp' diff --git a/cookbooks/vault/install.rb b/cookbooks/vault/install.rb index 3430e90..b75704e 100644 --- a/cookbooks/vault/install.rb +++ b/cookbooks/vault/install.rb @@ -1,6 +1,6 @@ # Install `Consul`: KEYSRV = "https://apt.releases.hashicorp.com/gpg" -ID = "A3219F7B" +ID = "AA16FCBCA621E701" execute "apt-key adv --keyserver #{KEYSRV} --recv-keys #{ID}" do not_if 'apt-key list | grep HashiCorp'