Update HashiCorp APT sources.
This commit is contained in:
parent
a52c841151
commit
2063cf2f6c
|
@ -7,7 +7,7 @@ execute "wget -O- #{SRC} | gpg --dearmor -o #{DEST}" do
|
||||||
end
|
end
|
||||||
|
|
||||||
# Retrieve the Ubuntu code:
|
# 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:
|
# Deploy the `apt` sources:
|
||||||
template '/etc/apt/sources.list.d/hashicorp.list' do
|
template '/etc/apt/sources.list.d/hashicorp.list' do
|
||||||
|
|
|
@ -7,7 +7,7 @@ execute "wget -O- #{SRC} | gpg --dearmor -o #{DEST}" do
|
||||||
end
|
end
|
||||||
|
|
||||||
# Retrieve the Ubuntu code:
|
# 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:
|
# Deploy the `apt` sources:
|
||||||
template '/etc/apt/sources.list.d/hashicorp.list' do
|
template '/etc/apt/sources.list.d/hashicorp.list' do
|
||||||
|
|
|
@ -7,7 +7,7 @@ execute "wget -O- #{SRC} | gpg --dearmor -o #{DEST}" do
|
||||||
end
|
end
|
||||||
|
|
||||||
# Retrieve the Ubuntu code:
|
# 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:
|
# Deploy the `apt` sources:
|
||||||
template '/etc/apt/sources.list.d/hashicorp.list' do
|
template '/etc/apt/sources.list.d/hashicorp.list' do
|
||||||
|
|
Loading…
Reference in New Issue