From 9aa061b6cfcb1b78e3365d329dcc39fd15c42fa1 Mon Sep 17 00:00:00 2001 From: Ben Vincent Date: Sun, 15 Jun 2025 17:32:30 +1000 Subject: [PATCH] feat: use fqdn in host_volumes - fix hard-coded message --- hieradata/roles/infra/nomad/agentv2.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hieradata/roles/infra/nomad/agentv2.yaml b/hieradata/roles/infra/nomad/agentv2.yaml index 0e08f94..434016a 100644 --- a/hieradata/roles/infra/nomad/agentv2.yaml +++ b/hieradata/roles/infra/nomad/agentv2.yaml @@ -27,10 +27,10 @@ profiles::packages::include: profiles::nomad::node::client: true profiles::nomad::node::host_volumes: - name: puppetclient_crt - path: /etc/puppetlabs/puppet/ssl/certs/ausyd1nxvm2040.main.unkin.net.pem + path: /etc/puppetlabs/puppet/ssl/certs/%{facts.networking.fqdn}.pem read_only: true - name: puppetclient_key - path: /etc/puppetlabs/puppet/ssl/private_keys/ausyd1nxvm2040.main.unkin.net.pem + path: /etc/puppetlabs/puppet/ssl/private_keys/%{facts.networking.fqdn}.pem read_only: true - name: puppetclient_ca path: /etc/puppetlabs/puppet/ssl/certs/ca.pem -- 2.47.3