Browse Source

fix(config): master_job_cache in saltmaster jinja

pull/553/head
Michael Schmitt 9 months ago
parent
commit
6e688e0ff0
Failed to extract signature
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      salt/files/master.d/f_defaults.conf

+ 6
- 1
salt/files/master.d/f_defaults.conf View File

# #
{{ get_config('cachedir', '/var/cache/salt/master') }} {{ get_config('cachedir', '/var/cache/salt/master') }}


# Specify the returner to use for the job cache. The job cache will only be
# interacted with from the salt master and therefore does not need to be
# accessible from the minions.
{{ get_config('master_job_cache', 'local_cache') }}

# Directory for custom modules. This directory can contain subdirectories for # Directory for custom modules. This directory can contain subdirectories for
# each of Salt's module types such as "runners", "output", "wheel", "modules", # each of Salt's module types such as "runners", "output", "wheel", "modules",
# "states", "returners", etc. # "states", "returners", etc.
{%- endif %} {%- endif %}
{%- endfor -%} {%- endfor -%}
{%- elif pillar[key] is mapping and pillar[key] is not string %} {%- elif pillar[key] is mapping and pillar[key] is not string %}
- {{ key }}:
- {{ key }}:
{%- for parameter in pillar[key] %} {%- for parameter in pillar[key] %}
{{ parameter }}: {{pillar[key][parameter]}} {{ parameter }}: {{pillar[key][parameter]}}
{%- endfor %} {%- endfor %}

Loading…
Cancel
Save