add tokens dir to master opts

This commit is contained in:
Thomas S Hatch 2012-10-02 11:54:15 -06:00
parent 70ec8677b0
commit 5511857758

View File

@ -329,9 +329,11 @@ def master_config(path):
opts['aes'] = salt.crypt.Crypticle.generate_key_string()
opts['extension_modules'] = os.path.join(opts['cachedir'], 'extmods')
opts['tokens'] = os.path.join(opts['cachedir'], 'tokens')
# Prepend root_dir to other paths
prepend_root_dir(opts, ['pki_dir', 'cachedir', 'log_file',
'sock_dir', 'key_logfile', 'extension_modules', 'autosign_file'])
'sock_dir', 'key_logfile', 'extension_modules',
'autosign_file', 'tokens'])
# Enabling open mode requires that the value be set to True, and
# nothing else!