Modify `consul-template` directories:
``` --- a/cookbooks/consul-template/setup.rb +++ b/cookbooks/consul-template/setup.rb @@ -1,6 +1,6 @@ # Create `/var/log/vector`: -%w( /etc/consul-template.d/conf /etc/consul-template.d/templates ).each do |d| - directory d do +%w( conf templates tokens ).each do |d| + directory "/etc/consul-template.d/#{d}" do owner 'root' group 'root' mode '0755' ```
This commit is contained in:
parent
d1297a02c9
commit
91a0c444b5
|
@ -1,6 +1,6 @@
|
||||||
# Create `/var/log/vector`:
|
# Create `/var/log/vector`:
|
||||||
%w( /etc/consul-template.d/conf /etc/consul-template.d/templates ).each do |d|
|
%w( conf templates tokens ).each do |d|
|
||||||
directory d do
|
directory "/etc/consul-template.d/#{d}" do
|
||||||
owner 'root'
|
owner 'root'
|
||||||
group 'root'
|
group 'root'
|
||||||
mode '0755'
|
mode '0755'
|
||||||
|
|
Loading…
Reference in New Issue