Change-Id: I602338811610d4ff08dfb8b2b3aed9dc46f5b3b0pull/73/head
Salt Minion | Salt Minion | ||||
----------- | ----------- | ||||
Minion ID by default trigger dependency on linux formula, as it uses fqdn configured from `linux.system.name` and | |||||
`linux.system.domain` pillar. To override, provide exact minion ID you require. The same can be sate for master id rendered | |||||
at `master.conf`. | |||||
.. code-block:: yaml | |||||
salt: | |||||
minion: | |||||
id: minion1.production | |||||
master: | |||||
id: master.production | |||||
Simplest Salt minion setup with central configuration node | Simplest Salt minion setup with central configuration node | ||||
.. code-block:: yaml | .. code-block:: yaml |
file_recv: {{ master.get('file_recv', False) }} | file_recv: {{ master.get('file_recv', False) }} | ||||
id: {{ system.name }}.{{ system.domain }} | |||||
id: {{ master.id | default(system.name~"."~system.domain) }} | |||||
{#- | {#- | ||||
vim: syntax=jinja | vim: syntax=jinja |
{%- endif %} | {%- endif %} | ||||
id: {{ system.name }}.{{ system.domain }} | |||||
id: {{ minion.id | default(system.name~"."~system.domain) }} | |||||
{%- for opt in ['max_event_size', 'acceptance_wait_time_max', | {%- for opt in ['max_event_size', 'acceptance_wait_time_max', | ||||
'acceptance_wait_time', 'random_reauth_delay', 'recon_default', 'recon_max', | 'acceptance_wait_time', 'random_reauth_delay', 'recon_default', 'recon_max', |
salt: | salt: | ||||
minion: | minion: | ||||
id: salt.ci.local | |||||
enabled: true | enabled: true | ||||
masters: | masters: | ||||
- host: config01.dc01.domain.com | - host: config01.dc01.domain.com |