Delete `/etc/nomad.d/datadir.hcl`.
This commit is contained in:
parent
5e176ff230
commit
8c712e6ffa
|
@ -1,4 +0,0 @@
|
|||
# /etc/nomad.d/server.hcl
|
||||
|
||||
# data_dir tends to be environment specific.
|
||||
data_dir = "/opt/nomad/data/"
|
|
@ -2,3 +2,6 @@ server {
|
|||
enabled = true
|
||||
bootstrap_expect = 3
|
||||
}
|
||||
|
||||
# data_dir tends to be environment specific.
|
||||
data_dir = "/opt/nomad/data/"
|
||||
|
|
|
@ -12,14 +12,6 @@ file '/etc/nomad.d/nomad.hcl' do
|
|||
action :delete
|
||||
end
|
||||
|
||||
remote_file '/etc/nomad.d/datadir.hcl' do
|
||||
owner 'nomad'
|
||||
group 'nomad'
|
||||
mode '664'
|
||||
|
||||
notifies :restart, 'service[nomad]'
|
||||
end
|
||||
|
||||
if node['nomad']['manager']
|
||||
%w( server.hcl acl.hcl ).each do |conf|
|
||||
remote_file "/etc/nomad.d/#{conf}" do
|
||||
|
|
Loading…
Reference in New Issue