Update HashiCorp APT sources.

This commit is contained in:
Kazuhiro MUSASHI 2024-04-28 12:12:18 +09:00
parent a52c841151
commit 2063cf2f6c
3 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ execute "wget -O- #{SRC} | gpg --dearmor -o #{DEST}" do
end
# Retrieve the Ubuntu code:
DIST = run_command('lsb_release -cs').stdout.chomp
DIST = run_command('lsb_release -cs 2>/dev/null').stdout.chomp
# Deploy the `apt` sources:
template '/etc/apt/sources.list.d/hashicorp.list' do

View File

@ -7,7 +7,7 @@ execute "wget -O- #{SRC} | gpg --dearmor -o #{DEST}" do
end
# Retrieve the Ubuntu code:
DIST = run_command('lsb_release -cs').stdout.chomp
DIST = run_command('lsb_release -cs 2>/dev/null').stdout.chomp
# Deploy the `apt` sources:
template '/etc/apt/sources.list.d/hashicorp.list' do

View File

@ -7,7 +7,7 @@ execute "wget -O- #{SRC} | gpg --dearmor -o #{DEST}" do
end
# Retrieve the Ubuntu code:
DIST = run_command('lsb_release -cs').stdout.chomp
DIST = run_command('lsb_release -cs 2>/dev/null').stdout.chomp
# Deploy the `apt` sources:
template '/etc/apt/sources.list.d/hashicorp.list' do