Compare commits

..

No commits in common. "c4bb8888fd4e988303e7730dc23e8594ce99bcf2" and "5c051454dec7a1137dbbaba0399a2a3d8cb898f1" have entirely different histories.

7 changed files with 19 additions and 19 deletions

View File

@ -2,7 +2,7 @@
execute 'apt update' execute 'apt update'
# Install the necessary packages: # Install the necessary packages:
%w[build-essential zsh vim-nox debian-keyring curl direnv jq avahi-daemon wget gpg coreutils].each do |pkg| %w[build-essential zsh vim-nox debian-keyring curl direnv jq avahi-daemon].each do |pkg|
package pkg package pkg
end end

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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