mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Merge pull request #45972 from mcalmer/allow-salt-ssh-define-log_file
move log_file option to changeable defaults
This commit is contained in:
commit
057e895faf
@ -880,6 +880,7 @@ class Single(object):
|
||||
# Pre apply changeable defaults
|
||||
self.minion_opts = {
|
||||
'grains_cache': True,
|
||||
'log_file': 'salt-call.log',
|
||||
}
|
||||
self.minion_opts.update(opts.get('ssh_minion_opts', {}))
|
||||
if minion_opts is not None:
|
||||
@ -889,7 +890,6 @@ class Single(object):
|
||||
'root_dir': os.path.join(self.thin_dir, 'running_data'),
|
||||
'id': self.id,
|
||||
'sock_dir': '/',
|
||||
'log_file': 'salt-call.log',
|
||||
'fileserver_list_cache_time': 3,
|
||||
})
|
||||
self.minion_config = salt.serializers.yaml.serialize(self.minion_opts)
|
||||
|
Loading…
Reference in New Issue
Block a user