Expliciyly specify the owner and group for `/etc/apt/sources.list.d/hashicorp.list`.
This commit is contained in:
parent
d8094f8a6b
commit
450426b12a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue