瀏覽代碼

Add gpg cache parameters

pull/563/head
Ricardo Pinto 7 月之前
父節點
當前提交
b258909252
無法提取簽署
共有 1 個檔案被更改,包括 17 行新增0 行删除
  1. +17
    -0
      salt/files/master.d/f_defaults.conf

+ 17
- 0
salt/files/master.d/f_defaults.conf 查看文件

@@ -1392,6 +1392,23 @@ on_demand_ext_pillar:
#
{{ get_config('pillar_cache_backend', 'disk') }}

# A master can also cache GPG data locally to bypass the expense of having to render them
# for each minion on every request. This feature should only be enabled in cases
# where pillar rendering time is known to be unsatisfactory and any attendant security
# concerns about storing decrypted GPG data in a master cache have been addressed.
#
# When enabling this feature, be certain to read through the additional ``gpg_cache_*``
# configuration options to fully understand the tunable parameters and their implications.
{{ get_config('gpg_cache', 'False') }}

# If and only if a master has set ``gpg_cache: True``, the cache TTL controls the amount
# of time, in seconds, before the cache is considered invalid by a master and a fresh
# pillar is recompiled and stored.
{{ get_config('gpg_cache_ttl', '86400') }}

# If and only if a master has set `gpg_cache: True`, one of several storage providers
# can be utilized. Available options are the same as ``pillar_cache_backend``.
{{ get_config('gpg_cache_backend', 'disk') }}

##### Syndic settings #####
##########################################

Loading…
取消
儲存