diff options
Diffstat (limited to 'salt')
-rw-r--r-- | salt/profile/salt/minion.sls | 9 |
1 files changed, 9 insertions, 0 deletions
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 |