Create `/etc/nomad.d/policies/` directory.
This commit is contained in:
parent
a882f52b3f
commit
ce7a80db7a
|
@ -22,6 +22,12 @@ if node['nomad']['manager']
|
||||||
notifies :restart, 'service[nomad]'
|
notifies :restart, 'service[nomad]'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
directory '/etc/nomad.d/policies' do
|
||||||
|
owner 'nomad'
|
||||||
|
group 'nomad'
|
||||||
|
mode '644'
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if node['nomad']['client']
|
if node['nomad']['client']
|
||||||
|
|
Loading…
Reference in New Issue