From ef40d3dc0122aa0b9746620d5f1a085add887854 Mon Sep 17 00:00:00 2001 From: Kazuhiro MUSASHI Date: Mon, 14 Mar 2022 23:06:37 +0900 Subject: [PATCH] Create /etc/nomad.d/jobs --- cookbooks/nomad/setup.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cookbooks/nomad/setup.rb b/cookbooks/nomad/setup.rb index 73c6c3d..24b4edb 100644 --- a/cookbooks/nomad/setup.rb +++ b/cookbooks/nomad/setup.rb @@ -46,6 +46,12 @@ if node['nomad']['client'] notifies :restart, 'service[nomad]' end end + + directory '/etc/nomad.d/jobs' do + owner 'nomad' + group 'nomad' + mode '755' + end end # Create directory: