From bd4f65dcf50f67fc21dbc78ec9cd794234125b46 Mon Sep 17 00:00:00 2001 From: Kazuhiro MUSASHI Date: Sat, 8 May 2021 16:43:23 +0900 Subject: [PATCH] Change the default config to install `nomad` only. --- cookbooks/nomad/attributes.rb | 2 +- roles/base.rb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cookbooks/nomad/attributes.rb b/cookbooks/nomad/attributes.rb index 6e0a6ea..367b2d7 100644 --- a/cookbooks/nomad/attributes.rb +++ b/cookbooks/nomad/attributes.rb @@ -4,6 +4,6 @@ node.reverse_merge!({ 'nomad' => { 'manager' => false, - 'client' => true + 'client' => false } }) diff --git a/roles/base.rb b/roles/base.rb index acd267d..fe08b14 100644 --- a/roles/base.rb +++ b/roles/base.rb @@ -7,3 +7,4 @@ include_recipe '../cookbooks/fzf/default.rb' include_recipe '../cookbooks/promtail/default.rb' include_recipe '../cookbooks/vector/default.rb' include_recipe '../cookbooks/prometheus-exporters/default.rb' +include_recipe '../cookbooks/nomad/default.rb'