Expliciyly specify the owner and group for `/etc/apt/sources.list.d/hashicorp.list`.

This commit is contained in:
Kazuhiro MUSASHI 2024-06-10 11:55:04 +09:00
parent d8094f8a6b
commit 450426b12a
1 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,9 @@ DIST = run_command('lsb_release -cs 2>/dev/null').stdout.chomp
template '/etc/apt/sources.list.d/hashicorp.list' do
action :create
variables(distribution: DIST)
owner 'root'
group 'root'
end
execute 'apt update' do