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`:
|
||||
%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'
|
||||
|
|
Loading…
Reference in New Issue