Create log directory for `consul`.
This commit is contained in:
parent
41f25a9a1c
commit
0e6c2ad531
|
@ -17,6 +17,12 @@ template '/etc/consul.d/consul.hcl' do
|
||||||
source "templates/etc/consul.d/#{SRC}"
|
source "templates/etc/consul.d/#{SRC}"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
directory '/var/log/consul/' do
|
||||||
|
owner 'consul'
|
||||||
|
group 'consul'
|
||||||
|
mode '0755'
|
||||||
|
end
|
||||||
|
|
||||||
remote_file '/etc/consul.d/service-consul.json' do
|
remote_file '/etc/consul.d/service-consul.json' do
|
||||||
owner 'consul'
|
owner 'consul'
|
||||||
group 'consul'
|
group 'consul'
|
||||||
|
|
Loading…
Reference in New Issue