Change-Id: If674097ad41df6118ffede78e02d143d5b8c9e6dmeta
type: software-config | type: software-config | ||||
relations: | relations: | ||||
{%- if minion.master is defined %} | {%- if minion.master is defined %} | ||||
- service: salt-master | |||||
- service: salt.master | |||||
{%- if minion.master.host in ['127.0.0.1', 'localhost'] %} | {%- if minion.master.host in ['127.0.0.1', 'localhost'] %} | ||||
host: {{ grains.id }} | host: {{ grains.id }} | ||||
{%- else %} | {%- else %} |