mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Conf file and changed option name to 'sched'
This commit is contained in:
parent
7a86af3866
commit
e793fe4203
2 changed files with 5 additions and 1 deletions
|
@ -45,6 +45,10 @@
|
|||
# Directory used to store public key data:
|
||||
#pki_dir: /etc/salt/pki/master
|
||||
|
||||
# Key cache. Increases master speed for large numbers of accepted
|
||||
# keys. Available options: 'sched'. (Updates on a fixed schedule.)
|
||||
#key_cache: ''
|
||||
|
||||
# Directory to store job and cache data:
|
||||
# This directory may contain sensitive data and should be protected accordingly.
|
||||
#
|
||||
|
|
|
@ -260,7 +260,7 @@ class Maintenance(SignalHandlingMultiprocessingProcess):
|
|||
Evaluate accepted keys and create a msgpack file
|
||||
which contains a list
|
||||
'''
|
||||
if self.opts['key_cache'] == 'maint':
|
||||
if self.opts['key_cache'] == 'sched':
|
||||
keys = []
|
||||
#TODO DRY from CKMinions
|
||||
if self.opts['transport'] in ('zeromq', 'tcp'):
|
||||
|
|
Loading…
Add table
Reference in a new issue