From 546508c7dec218f91edb0c5416716d21a16363a0 Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Sun, 15 Jan 2023 17:12:47 +0100 Subject: Use custom minion master configuration Signed-off-by: Georg Pfuetzenreuter --- salt/profile/salt/minion.sls | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'salt/profile') diff --git a/salt/profile/salt/minion.sls b/salt/profile/salt/minion.sls index 6978eaf..32fb272 100644 --- a/salt/profile/salt/minion.sls +++ b/salt/profile/salt/minion.sls @@ -1,3 +1,12 @@ include: - salt.minion - .grains + +/etc/salt/minion.d/master.conf: + file.managed: + - contents: + - 'master: {{ salt['pillar.get']('netbox:config_context:salt_master') }}' + - require_in: + - service: salt-minion + - watch_in: + - service: salt-minion -- cgit v1.2.3