Skip to content

Commit

Permalink
Merge pull request #49223 from msciciel/fix-salt-key-eauth-token-file
Browse files Browse the repository at this point in the history
Fix token_file creation using external auth with salt-key
  • Loading branch information
Nicole Thomas authored Aug 23, 2018
2 parents a3e5d10 + 412015b commit 2947028
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion salt/utils/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -2522,7 +2522,7 @@ def process_config_dir(self):
process_config_dir._mixin_prio_ = ConfigDirMixIn._mixin_prio_

def setup_config(self):
keys_config = config.master_config(self.get_config_file_path())
keys_config = config.client_config(self.get_config_file_path())
if self.options.gen_keys:
# Since we're generating the keys, some defaults can be assumed
# or tweaked
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/utils/test_parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ def setUp(self):
self.log_file = '/tmp/salt_key_parser_test'
self.key_logfile = '/tmp/key_logfile'
# Function to patch
self.config_func = 'salt.config.master_config'
self.config_func = 'salt.config.client_config'

# Mock log setup
self.setup_log()
Expand Down

0 comments on commit 2947028

Please sign in to comment.