mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
fix option name
This commit is contained in:
parent
78c9b32bfe
commit
b866c5f55d
@ -96,8 +96,8 @@ The user to run the Salt processes
|
||||
|
||||
.. conf_master:: ret_port
|
||||
|
||||
``enable_ssh``
|
||||
--------------
|
||||
``enable_ssh_minions``
|
||||
----------------------
|
||||
|
||||
Default: ``False``
|
||||
|
||||
@ -105,8 +105,12 @@ Tell the master to also use SaltSSH when running commands against minions.
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
enable_ssh: True
|
||||
|
||||
enable_ssh_minions: True
|
||||
|
||||
.. note::
|
||||
|
||||
Cross minion type communication is still not possible. The SaltMine and
|
||||
publish.publish do not work between minion types.
|
||||
|
||||
``ret_port``
|
||||
------------
|
||||
|
@ -1185,7 +1185,7 @@ VALID_OPTS = {
|
||||
'schedule': dict,
|
||||
|
||||
# Enable calling ssh minions from the salt master
|
||||
'enable_ssh': bool,
|
||||
'enable_ssh_minions': bool,
|
||||
}
|
||||
|
||||
# default configurations
|
||||
@ -1803,6 +1803,7 @@ DEFAULT_MASTER_OPTS = {
|
||||
},
|
||||
'schedule': {},
|
||||
'enable_ssh': False,
|
||||
'enable_ssh_minions': False,
|
||||
}
|
||||
|
||||
|
||||
|
@ -1958,7 +1958,7 @@ class ClearFuncs(object):
|
||||
payload = self._prep_pub(minions, jid, clear_load, extra, missing)
|
||||
|
||||
# Send it!
|
||||
if self.opts[u'enable_ssh'] is True:
|
||||
if self.opts[u'enable_ssh_minions'] is True:
|
||||
log.debug('Use SSHClient for rostered minions')
|
||||
ssh = salt.client.ssh.client.SSHClient()
|
||||
ssh_minions = ssh._prep_ssh(**clear_load).targets.keys()
|
||||
|
Loading…
Reference in New Issue
Block a user