From ce7a80db7ad53d85ed139783506ecefae24ff7b3 Mon Sep 17 00:00:00 2001 From: Kazuhiro MUSASHI Date: Mon, 14 Mar 2022 22:34:47 +0900 Subject: [PATCH] Create `/etc/nomad.d/policies/` directory. --- cookbooks/nomad/setup.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cookbooks/nomad/setup.rb b/cookbooks/nomad/setup.rb index 43db7e8..e32dd26 100644 --- a/cookbooks/nomad/setup.rb +++ b/cookbooks/nomad/setup.rb @@ -22,6 +22,12 @@ if node['nomad']['manager'] notifies :restart, 'service[nomad]' end end + + directory '/etc/nomad.d/policies' do + owner 'nomad' + group 'nomad' + mode '644' + end end if node['nomad']['client']