From 208113dd9f1fec26771697cf147ba9d1eea9b707 Mon Sep 17 00:00:00 2001 From: Nathaniel Landau Date: Thu, 21 Apr 2022 16:53:19 -0400 Subject: [PATCH] Rename job files Rename Nomad job files to match job specification name --- .../{backup_fs.hcl => backup_local_filesystems.hcl} | 0 .../{headless_chrome.hcl => headless-chrome.hcl} | 0 templates/nomad_jobs/syncthing.hcl | 10 +++++----- 3 files changed, 5 insertions(+), 5 deletions(-) rename templates/nomad_jobs/{backup_fs.hcl => backup_local_filesystems.hcl} (100%) rename templates/nomad_jobs/{headless_chrome.hcl => headless-chrome.hcl} (100%) diff --git a/templates/nomad_jobs/backup_fs.hcl b/templates/nomad_jobs/backup_local_filesystems.hcl similarity index 100% rename from templates/nomad_jobs/backup_fs.hcl rename to templates/nomad_jobs/backup_local_filesystems.hcl diff --git a/templates/nomad_jobs/headless_chrome.hcl b/templates/nomad_jobs/headless-chrome.hcl similarity index 100% rename from templates/nomad_jobs/headless_chrome.hcl rename to templates/nomad_jobs/headless-chrome.hcl diff --git a/templates/nomad_jobs/syncthing.hcl b/templates/nomad_jobs/syncthing.hcl index 761b275..af56864 100644 --- a/templates/nomad_jobs/syncthing.hcl +++ b/templates/nomad_jobs/syncthing.hcl @@ -3,11 +3,11 @@ job "syncthing" { datacenters = ["{{ datacenter_name }}"] type = "service" - // constraint { - // attribute = "${node.unique.name}" - // operator = "regexp" - // value = "rpi(1|2|3)" - // } + constraint { + attribute = "${node.unique.name}" + operator = "regexp" + value = "rpi" + } update { max_parallel = 1