Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[develop] Merge forward from 2019.2 to develop #52398

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
710ab50
Support parallel work of multiple IPCMEssageSubscribers in one process
DmitryKuzmenko Mar 4, 2019
01e9a3d
Merge branch '2018.3' into bugs/49147_ipc_subscriber
DmitryKuzmenko Mar 5, 2019
7656331
Change default language from 1033 to en_US
twangboy Mar 8, 2019
7186405
Merge branch '2018.3' into fix_lgpo
twangboy Mar 8, 2019
4b99afa
Fixing the output when there are changes for the ACL state so the per…
garethgreenaway Mar 14, 2019
24c907b
Adding additional permissions to the lookup.
garethgreenaway Mar 14, 2019
bfdb669
Updating the reverse octal lookup dictionary. Updating tests.
garethgreenaway Mar 14, 2019
889660f
Fixing lint.
garethgreenaway Mar 14, 2019
c5337e1
Merge branch '2018.3' into 51959_fix_acl_present_output
garethgreenaway Mar 14, 2019
dce4ffa
Avoid a traceback on tornado.testing test classes
s0undt3ch Mar 18, 2019
008cf49
Merge branch '2018.3' into bugs/49147_ipc_subscriber
DmitryKuzmenko Mar 18, 2019
8c0f46b
Use windows state to bootstrap windows builds
dwoz Mar 18, 2019
7263956
Lock coverage and xml-unittest-reporting versions
s0undt3ch Mar 18, 2019
a86af2b
Merge pull request #52226 from dwoz/jenkins_build
dwoz Mar 18, 2019
b039cec
Windows now has a static requirements file and no longer needs hacks
s0undt3ch Mar 20, 2019
f48ba6a
Merge remote-tracking branch 'upstream/2017.7.9' into 2017.7
s0undt3ch Mar 20, 2019
981335a
Revert "Avoid a traceback on tornado.testing test classes"
s0undt3ch Mar 20, 2019
973e1ca
Merge remote-tracking branch 'upstream/2017.7.9' into 2017.7
s0undt3ch Mar 20, 2019
684bf58
Update doc conf with the new import `tornado.queues`
DmitryKuzmenko Mar 20, 2019
bf9c55e
Previously have setuptools-git installed if ioflo is to be installed
s0undt3ch Mar 21, 2019
cc6fb46
Additionally ignore files in nox virtualenvs and CI artifacts directo…
s0undt3ch Mar 21, 2019
57348ca
Add static requirements for Arch linux
s0undt3ch Mar 21, 2019
3e6cb79
Merge branch '2017.7.9' into 2017.7
s0undt3ch Mar 21, 2019
36ed50d
Lock to unittest-xml-reporting 2.2.1
s0undt3ch Mar 21, 2019
4306779
Merge branch '2017.7.9' into 2017.7
s0undt3ch Mar 21, 2019
0bdde94
Merge branch '2018.3' into 51959_fix_acl_present_output
garethgreenaway Mar 21, 2019
1f99e28
Let's not include raet by default
s0undt3ch Mar 21, 2019
b6a0161
Merge remote-tracking branch 'upstream/2017.7.9' into 2017.7
s0undt3ch Mar 21, 2019
cbe5f7d
Update to allow for malformed CPE_NAME from some OS's
Mar 21, 2019
2bc2a7d
Merge branch '2018.3' into bugs/49147_ipc_subscriber
DmitryKuzmenko Mar 22, 2019
8c53890
Merge branch '2018.3' into 51959_fix_acl_present_output
garethgreenaway Mar 22, 2019
bb4a704
Merge branch '2018.3' into fix_lgpo
twangboy Mar 25, 2019
0b1eb00
Replaced `test.ping` with `test.version`
alan-cugler Mar 25, 2019
4908ed3
Merge branch '2017.7' into merge-2018.3
garethgreenaway Mar 25, 2019
e8c8dba
Added in an explaination of the --zone flag
alan-cugler Mar 25, 2019
ae0e18f
Merge branch '2018.3' into zone-clarification
garethgreenaway Mar 25, 2019
71e9b66
Merge pull request #52312 from terminal-labs/zone-clarification
garethgreenaway Mar 25, 2019
c04ba6e
Changed a text artifact from the ping function to supporting text for…
alan-cugler Mar 26, 2019
9324b83
Merge branch '2018.3' into merge-2018.3
garethgreenaway Mar 26, 2019
3211397
Merge pull request #52310 from garethgreenaway/merge-2018.3
garethgreenaway Mar 26, 2019
8255901
document `regex_replace` Jinja filter (#52326)
Ch3LL Mar 27, 2019
364ef06
Added mention of map file alternative for minion configuration options.
alan-cugler Feb 21, 2019
9ca0f72
Changed where to mention the map files compatibility for minion confi…
alan-cugler Mar 27, 2019
23733bd
Regression test for parallel IPCMessageSubscriber support
DmitryKuzmenko Mar 27, 2019
cc46e9c
Merge branch '2018.3' into bugs/49147_ipc_subscriber
DmitryKuzmenko Mar 27, 2019
37aeba3
Minor: Fix typo in docstring
DmitryKuzmenko Mar 27, 2019
87bb513
Fix failing symlink test (#52145)
twangboy Mar 27, 2019
7b2b521
Merge pull request #51963 from DSRCorporation/bugs/49147_ipc_subscriber
dwoz Mar 27, 2019
14a6b9d
Merge pull request #52306 from terminal-labs/replace-ping-with-version
dwoz Mar 27, 2019
45d6cad
Merge pull request #52283 from dmurphy18/fix_cpe_name_amzn2
dwoz Mar 27, 2019
7040643
Merge pull request #52172 from garethgreenaway/51959_fix_acl_present_…
dwoz Mar 27, 2019
a743fff
Merge pull request #52113 from twangboy/fix_lgpo
dwoz Mar 27, 2019
bda3ca2
Merge pull request #51749 from terminal-labs/salt-cloud-map-alt-update
Ch3LL Mar 28, 2019
63962b5
Merge branch '2018.3' into '2019.2'
Ch3LL Mar 28, 2019
27e6cbf
Merge pull request #52347 from Ch3LL/merge-2019.2
Ch3LL Mar 28, 2019
bad2b51
Merge branch '2019.2' into merge-develop
garethgreenaway Apr 2, 2019
d5d7bee
Fixing lint
garethgreenaway Apr 2, 2019
a3ddb94
Fixing lint. @DmitryKuzmenko please double check this change for me.
garethgreenaway Apr 3, 2019
978676d
Brining in set_event_handler changes from 2019.2.
garethgreenaway Apr 3, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ def inner(fn, *iargs, **ikwargs): # pylint: disable=unused-argument
'tornado.ioloop',
'tornado.iostream',
'tornado.netutil',
'tornado.queues',
'tornado.simple_httpclient',
'tornado.stack_context',
'tornado.web',
Expand Down
4 changes: 2 additions & 2 deletions doc/ref/cli/salt-unity.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Synopsis

.. code-block:: bash

salt-unity salt '*' test.ping
salt-unity salt '*' test.version

Description
===========
Expand All @@ -35,4 +35,4 @@ See also
:manpage:`salt-minion(1)`
:manpage:`salt-run(1)`
:manpage:`salt-ssh(1)`
:manpage:`salt-syndic(1)`
:manpage:`salt-syndic(1)`
4 changes: 2 additions & 2 deletions doc/ref/cli/salt.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ Synopsis

salt -E '.*' [ options ] sys.doc cmd

salt -G 'os:Arch.*' [ options ] test.ping
salt -G 'os:Arch.*' [ options ] test.version

salt -C 'G@os:Arch.* and webserv* or G@kernel:FreeBSD' [ options ] test.ping
salt -C 'G@os:Arch.* and webserv* or G@kernel:FreeBSD' [ options ] test.version

Description
===========
Expand Down
19 changes: 10 additions & 9 deletions doc/ref/configuration/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -199,30 +199,31 @@ Sending Commands
================

Communication between the Master and a Minion may be verified by running
the ``test.ping`` command:
the ``test.version`` command:

.. code-block:: bash

[root@master ~]# salt alpha test.ping
[root@master ~]# salt alpha test.version
alpha:
True
2018.3.4

Communication between the Master and all Minions may be tested in a
similar way:

.. code-block:: bash

[root@master ~]# salt '*' test.ping
[root@master ~]# salt '*' test.version
alpha:
True
2018.3.4
bravo:
True
2018.3.4
charlie:
True
2018.3.4
delta:
True
2018.3.4

Each of the Minions should send a ``True`` response as shown above.
Each of the Minions should send a ``2018.3.4`` response as shown above,
or any other salt version installed.

What's Next?
============
Expand Down
4 changes: 2 additions & 2 deletions doc/ref/executors/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ The same could be done by command line:

.. code-block:: bash

salt -t 40 --module-executors='[splay, direct_call]' --executor-opts='{splaytime: 30}' '*' test.ping
salt -t 40 --module-executors='[splay, direct_call]' --executor-opts='{splaytime: 30}' '*' test.version

And the same command called via netapi will look like this:

Expand All @@ -43,7 +43,7 @@ And the same command called via netapi will look like this:
-d '[{
"client": "local",
"tgt": "*",
"fun": "test.ping",
"fun": "test.version",
"module_executors": ["splay", "direct_call"],
"executor_opts": {"splaytime": 10}
}]'
Expand Down
6 changes: 3 additions & 3 deletions doc/ref/peer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,11 @@ comes with a number of functions to execute peer communication in different
ways. Currently there are three functions in the publish module. These examples
will show how to test the peer system via the salt-call command.

To execute test.ping on all minions:
To execute test.version on all minions:

.. code-block:: bash

# salt-call publish.publish \* test.ping
# salt-call publish.publish \* test.version

To execute the manage.up runner:

Expand All @@ -123,7 +123,7 @@ To match minions using other matchers, use ``tgt_type``:

.. code-block:: bash

# salt-call publish.publish 'webserv* and not G@os:Ubuntu' test.ping tgt_type='compound'
# salt-call publish.publish 'webserv* and not G@os:Ubuntu' test.version tgt_type='compound'

.. note::
In pre-2017.7.0 releases, use ``expr_form`` instead of ``tgt_type``.
24 changes: 12 additions & 12 deletions doc/ref/returners/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,18 @@ Specifying what returners to use is done when the command is invoked:

.. code-block:: bash

salt '*' test.ping --return redis_return
salt '*' test.version --return redis_return

This command will ensure that the redis_return returner is used.

It is also possible to specify multiple returners:

.. code-block:: bash

salt '*' test.ping --return mongo_return,redis_return,cassandra_return
salt '*' test.version --return mongo_return,redis_return,cassandra_return

In this scenario all three returners will be called and the data from the
test.ping command will be sent out to the three named returners.
test.version command will be sent out to the three named returners.

Writing a Returner
==================
Expand All @@ -61,13 +61,13 @@ Other optional functions can be included to add support for
``returner``
The ``returner`` function must accept a single argument. The argument
contains return data from the called minion function. If the minion
function ``test.ping`` is called, the value of the argument will be a
function ``test.version`` is called, the value of the argument will be a
dictionary. Run the following command from a Salt master to get a sample
of the dictionary:

.. code-block:: bash

salt-call --local --metadata test.ping --out=pprint
salt-call --local --metadata test.version --out=pprint

.. code-block:: python

Expand Down Expand Up @@ -246,12 +246,12 @@ Sample:
"master_minion": {
"fun_args": [],
"jid": "20150330121011408195",
"return": true,
"return": "2018.3.4",
"retcode": 0,
"success": true,
"cmd": "_return",
"_stamp": "2015-03-30T12:10:12.708663",
"fun": "test.ping",
"fun": "test.version",
"id": "master_minion"
}
}
Expand All @@ -267,9 +267,9 @@ Sample:

{
"local": {
"minion1": "test.ping",
"minion3": "test.ping",
"minion2": "test.ping"
"minion1": "test.version",
"minion3": "test.version",
"minion2": "test.version"
}
}

Expand Down Expand Up @@ -344,15 +344,15 @@ Testing the Returner
The ``returner``, ``prep_jid``, ``save_load``, ``get_load``, and
``event_return`` functions can be tested by configuring the
:conf_master:`master_job_cache` and `Event Returners`_ in the master config
file and submitting a job to ``test.ping`` each minion from the master.
file and submitting a job to ``test.version`` each minion from the master.

Once you have successfully exercised the Master Job Cache functions, test the
External Job Cache functions using the ``ret`` execution module.

.. code-block:: bash

salt-call ret.get_jids cassandra_cql --output=json
salt-call ret.get_fun cassandra_cql test.ping --output=json
salt-call ret.get_fun cassandra_cql test.version --output=json
salt-call ret.get_minions cassandra_cql --output=json
salt-call ret.get_jid cassandra_cql 20150330121011408195 --output=json

Expand Down
2 changes: 1 addition & 1 deletion doc/ref/runners/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,6 @@ responding to Salt calls could look like this:
Print a list of all of the minions that are up
'''
client = salt.client.LocalClient(__opts__['conf_file'])
minions = client.cmd('*', 'test.ping', timeout=1)
minions = client.cmd('*', 'test.version', timeout=1)
for minion in sorted(minions):
print minion
4 changes: 2 additions & 2 deletions doc/topics/blackout/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ allowed during blackout. This is configured with the special pillar key
.. code-block:: yaml

minion_blackout_whitelist:
- test.ping
- pillar.get
- test.version
- pillar.get
2 changes: 1 addition & 1 deletion doc/topics/cloud/aws.rst
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ it can be verified with Salt:

.. code-block:: bash

# salt 'ami.example.com' test.ping
# salt 'ami.example.com' test.version


Required Settings
Expand Down
2 changes: 1 addition & 1 deletion doc/topics/cloud/azure.rst
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ it can be verified with Salt:

.. code-block:: bash

salt newinstance test.ping
salt newinstance test.version


Profile Options
Expand Down
2 changes: 1 addition & 1 deletion doc/topics/cloud/azurearm.rst
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ it can be verified with Salt:

.. code-block:: bash

salt newinstance test.ping
salt newinstance test.version


Profile Options
Expand Down
8 changes: 4 additions & 4 deletions doc/topics/cloud/config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ Minion Configuration
====================

The default minion configuration is set up in this file. Minions created by
salt-cloud derive their configuration from this file. Almost all parameters
found in :ref:`Configuring the Salt Minion <configuration-salt-minion>` can
be used here.
salt-cloud derive their configuration from this file. Almost all parameters
found in :ref:`Configuring the Salt Minion <configuration-salt-minion>` can be
used here.

.. code-block:: yaml

Expand All @@ -44,7 +44,7 @@ and its listening port, if the port is not set to the default.
Similar to most other settings, Minion configuration settings are inherited
across configuration files. For example, the master setting might be contained
in the main ``cloud`` configuration file as demonstrated above, but additional
settings can be placed in the provider or profile:
settings can be placed in the provider, profile or map configuration files:

.. code-block:: yaml

Expand Down
2 changes: 1 addition & 1 deletion doc/topics/cloud/deploy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ Post-Deploy Commands
Once a minion has been deployed, it has the option to run a salt command.
Normally, this would be the :py:func:`state.apply <salt.modules.state.apply_>`,
which would finish provisioning the VM. Another common option (for testing) is
to use :py:func:`test.ping <salt.modules.test.ping>`. This is configured in the
to use :py:func:`test.version <salt.modules.test.version>`. This is configured in the
main cloud config file:

.. code-block:: yaml
Expand Down
2 changes: 1 addition & 1 deletion doc/topics/cloud/gce.rst
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ it can be verified with Salt:

.. code-block:: bash

salt gce-instance test.ping
salt gce-instance test.version


GCE Specific Settings
Expand Down
2 changes: 1 addition & 1 deletion doc/topics/cloud/libvirt.rst
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ it can be verified with Salt:

.. code-block:: bash

# salt my-centos7-clone test.ping
# salt my-centos7-clone test.version


Required Settings
Expand Down
2 changes: 1 addition & 1 deletion doc/topics/cloud/linode.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ it can be verified with Salt:

.. code-block:: bash

salt linode-instance test.ping
salt linode-instance test.version


Listing Sizes
Expand Down
2 changes: 1 addition & 1 deletion doc/topics/cloud/opennebula.rst
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ Once the instance has been created with salt-minion installed, connectivity to i

.. code-block:: bash

salt my-new-vm test.ping
salt my-new-vm test.version

OpenNebula uses an image --> template --> virtual machine paradigm where the template draws on the image, or disk,
and virtual machines are created from templates. Because of this, there is no need to define a ``size`` in the cloud
Expand Down
2 changes: 1 addition & 1 deletion doc/topics/cloud/parallels.rst
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ it can be verified with Salt:

.. code-block:: bash

# salt myubuntu test.ping
# salt myubuntu test.version


Required Settings
Expand Down
2 changes: 1 addition & 1 deletion doc/topics/cloud/proxmox.rst
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ it can be verified with Salt:

.. code-block:: bash

# salt myubuntu test.ping
# salt myubuntu test.version


Required Settings
Expand Down
4 changes: 2 additions & 2 deletions doc/topics/cloud/saltify.rst
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ Connectivity to the new "Salted" instances can now be verified with Salt:

.. code-block:: bash

salt 'my-instance-*' test.ping
salt 'my-instance-*' test.version

Bulk Deployments
----------------
Expand Down Expand Up @@ -251,7 +251,7 @@ Credential Verification
Because the Saltify driver does not actually create VM's, unlike other
salt-cloud drivers, it has special behaviour when the ``deploy`` option is set
to ``False``. When the cloud configuration specifies ``deploy: False``, the
Saltify driver will attept to authenticate to the target node(s) and return
Saltify driver will attempt to authenticate to the target node(s) and return
``True`` for each one that succeeds. This can be useful to verify ports,
protocols, services and credentials are correctly configured before a live
deployment.
Expand Down
6 changes: 3 additions & 3 deletions doc/topics/cloud/softlayer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,9 @@ with its short hostname, ``my-vm``):
Rejected Keys:
#
#
# salt my-vm.example.com test.ping
# salt my-vm.example.com test.version
my-vm.example.com:
True
2018.3.4
#
#
# salt-cloud -d my-vm.example.com
Expand Down Expand Up @@ -334,7 +334,7 @@ it can be verified with Salt:

.. code-block:: bash

# salt 'myserver.example.com' test.ping
# salt 'myserver.example.com' test.version

Dedicated Host
~~~~~~~~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion doc/topics/cloud/vagrant.rst
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ to it can be verified with Salt:

.. code-block:: bash

salt my-id test.ping
salt my-id test.version

.. _host provisioning example:

Expand Down
2 changes: 1 addition & 1 deletion doc/topics/cloud/vexxhost.rst
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ the following command:

.. code-block:: bash

# salt vh_instance1 test.ping
# salt vh_instance1 test.version

You can now continue to provision new instances and they will all automatically
be set up as minions of the master you've defined in the configuration file.
2 changes: 1 addition & 1 deletion doc/topics/cloud/xen.rst
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ it can be verified with Salt:

.. code-block:: bash

salt xenvm02 test.ping
salt xenvm02 test.version


Listing Sizes
Expand Down
Loading