Create log directory for `consul`.

This commit is contained in:
Kazuhiro MUSASHI 2020-11-22 23:26:05 +09:00
parent 41f25a9a1c
commit 0e6c2ad531
1 changed files with 6 additions and 0 deletions

View File

@ -17,6 +17,12 @@ template '/etc/consul.d/consul.hcl' do
source "templates/etc/consul.d/#{SRC}"
end
directory '/var/log/consul/' do
owner 'consul'
group 'consul'
mode '0755'
end
remote_file '/etc/consul.d/service-consul.json' do
owner 'consul'
group 'consul'