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

Fix various spelling mistakes #58700

Merged
merged 11 commits into from
Oct 13, 2021
12 changes: 6 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ Fixed
-----

- Import salt.utils.azurearm instead of using __utils__ from loader in azure cloud. This fixes an issue where __utils__ would become unavailable when we are using the ThreadPool in azurearm. (#59744)
- Use contextvars libary from site-packages if it is intalled. Fixes salt ssh for targets with python <=3.6 (#59942)
- Use contextvars library from site-packages if it is intalled. Fixes salt ssh for targets with python <=3.6 (#59942)

Fixed
-----
Expand Down Expand Up @@ -273,7 +273,7 @@ Fixed
- Fixed installation on Apple Silicon Macs by checking $HOMEBREW_PREFIX for `libcrypto` instead of assuming /usr/local. (#59808)
- Fix incorrect documentation for pillar_source_merging_strategy (#26396)
- Don't iterate through cloud map errors (#34033)
- Supress noisy warnings when very old pyzmq is used. (#50327)
- Suppress noisy warnings when very old pyzmq is used. (#50327)
- Fixed glusterfs version parsing for pre-4.0 (#50707)
- Prevent traceback when trying to list reactors when none are configured. (#53334)
- Fixed zabbix_host.present to accept all Zabbix host properties (#53838)
Expand All @@ -295,7 +295,7 @@ Fixed
minion not to start
Use default timezone offset in scheduler when correct timezone cannot be determined (#58379)
- Pop!_OS 20.04 and 20.10 now support using pkg.* / aptpkg.* (#58395)
- Restoring functionallity of the textfsm module when using textfsm_path argument (#58499)
- Restoring functionality of the textfsm module when using textfsm_path argument (#58499)
- Invalidate file list cache when cache file has a future last modified time (#58529)
- Fix issue with setting permissions in combination with the win_perms_reset
option (#58541)
Expand Down Expand Up @@ -498,7 +498,7 @@ Fixed
- Removing use of undefined varilable in utils/slack.py. (#58753)
- Restored the ability to specify the amount of extents for a Logical
Volume as a percentage. (#58759)
- Ensuring that the version check function is run a second time in all the user related functions incase the user being managed is the connection user and the password has been updated. (#58773)
- Ensuring that the version check function is run a second time in all the user related functions in case the user being managed is the connection user and the password has been updated. (#58773)
- Allow bytes in gpg renderer (#58794)
- Fix issue where win_wua module fails to load when BITS is set to Manual (#58848)
- Ensure that elasticsearch.index_exists is available before loading the elasticsearch returner. (#58851)
Expand Down Expand Up @@ -546,7 +546,7 @@ Deprecated
Changed
-------

- Allow to specify a custom port for Proxmox connection (#50620)
- Allow specifying a custom port for Proxmox connection (#50620)
- Changed the lvm.lv_present state to accept a resizefs switch. So, when
the logical volume is resized, the filesystem will be resized too. (#55265)
- Change the ``enable_fqdns_grains`` setting to default to ``False`` on proxy minions
Expand Down Expand Up @@ -739,7 +739,7 @@ Added
even just maintaining highstate becomes unmanageable. (#57849)
- - Added an execution module for running idem exec modules
- Added a state module for running idem states (#57969)
- - Added the ability for states to return `sub_state_run`s -- results frome external state engines (#57993)
- - Added the ability for states to return `sub_state_run`s -- results from external state engines (#57993)
- Added salt-cloud support for Linode APIv4 via the ``api_version`` provider configuration parameter. (#58093)
- Added support to manage services in Slackware Linux. (#58206)
- Added list_sources to chocolatey module to have an overview of the repositories present on the minions.
Expand Down
2 changes: 1 addition & 1 deletion doc/topics/releases/3002.2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Fixed
- Removing use of undefined varilable in utils/slack.py. (#58753)
- Restored the ability to specify the amount of extents for a Logical
Volume as a percentage. (#58759)
- Ensuring that the version check function is run a second time in all the user related functions incase the user being managed is the connection user and the password has been updated. (#58773)
- Ensuring that the version check function is run a second time in all the user related functions in case the user being managed is the connection user and the password has been updated. (#58773)
- Allow bytes in gpg renderer (#58794)
- Fix issue where win_wua module fails to load when BITS is set to Manual (#58848)
- Ensure that elasticsearch.index_exists is available before loading the elasticsearch returner. (#58851)
Expand Down
6 changes: 3 additions & 3 deletions doc/topics/releases/3002.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Deprecated
Changed
-------

- Allow to specify a custom port for Proxmox connection (#50620)
- Allow specifying a custom port for Proxmox connection (#50620)
- Changed the lvm.lv_present state to accept a resizefs switch. So, when
the logical volume is resized, the filesystem will be resized too. (#55265)
- Change the ``enable_fqdns_grains`` setting to default to ``False`` on proxy minions
Expand Down Expand Up @@ -195,13 +195,13 @@ Added
- Add output filter to saltcheck to only display test failures (#57788)
- Added an execution module for running idem exec modules
- Added a state module for running idem states (#57969)
- Added the ability for states to return `sub_state_run's` results frome external state engines (#57993)
- Added the ability for states to return `sub_state_run's` results from external state engines (#57993)
- Added salt-cloud support for Linode APIv4 via the ``api_version`` provider configuration parameter. (#58093)
- Added support to manage services in Slackware Linux. (#58206)
- Added list_sources to chocolatey module to have an overview of the repositories present on the minions.
Added source_added to chocolatey state in order to add repositories to chocolatey. (#58588)
- Adding tests for changes to virtual function for netmiko module. Adding tests for netmiko proxy minion module. (#58609)
- Added features config option for feature flags. Added a feature flag
`enable_slsvars_fixes` to enable fixes to tpldir, tplfile and sls_path.
This flag will be depricated in the Phosphorus release when this functionality
This flag will be deprecated in the Phosphorus release when this functionality
becomes the default. (#58652)
2 changes: 1 addition & 1 deletion salt/beacons/salt_monitor.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""
A beacon to execute salt execution module functions. This beacon will fire only if the return data is "truthy".
The function return, funtion name and args and/or kwargs, will be passed as data in the event.
The function return, function name and args and/or kwargs, will be passed as data in the event.

The configuration can accept a list of salt functions to execute every interval.
Make sure to allot enough time via 'interval' key to allow all salt functions to execute.
Expand Down
2 changes: 1 addition & 1 deletion salt/client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1648,7 +1648,7 @@ def get_cli_event_returns(
timeout=timeout,
tgt=tgt,
tgt_type=tgt_type,
# (gtmanfred) expect_minions is popped here incase it is passed from a client
# (gtmanfred) expect_minions is popped here in case it is passed from a client
# call. If this is not popped, then it would be passed twice to
# get_iter_returns.
expect_minions=(
Expand Down
2 changes: 1 addition & 1 deletion salt/modules/ceph.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def zap(target=None, **kwargs):
The cluster UUID. Defaults to value found in ceph config file.
"""
if target is not None:
log.warning("Depricated use of function, use kwargs")
log.warning("Deprecated use of function, use kwargs")
bdrung marked this conversation as resolved.
Show resolved Hide resolved
target = kwargs.get("dev", target)
kwargs["dev"] = target
return ceph_cfg.zap(**kwargs)
Expand Down
2 changes: 1 addition & 1 deletion salt/modules/dockermod.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ def _get_client(timeout=NOTSET, **kwargs):
client_kwargs["base_url"] = os.environ.get("DOCKER_HOST")

if "version" not in client_kwargs:
# Let docker-py auto detect docker version incase
# Let docker-py auto detect docker version in case
# it's not defined by user.
client_kwargs["version"] = "auto"

Expand Down
2 changes: 1 addition & 1 deletion salt/modules/jira_mod.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def __virtual__():
return (
__virtualname__
if HAS_JIRA
else (False, "Please install the jira Python libary from PyPI")
else (False, "Please install the jira Python library from PyPI")
)


Expand Down
6 changes: 3 additions & 3 deletions salt/modules/virt.py
Original file line number Diff line number Diff line change
Expand Up @@ -2448,7 +2448,7 @@ def init(
NUMA node, number of dies per socket, number of cores per die, and number of threads per core, respectively.

features
A dictionary conains a set of cpu features to fine-tune features provided by the selected CPU model. Use cpu
A dictionary contains a set of cpu features to fine-tune features provided by the selected CPU model. Use cpu
feature ``name`` as the key and the ``policy`` as the value. ``policy`` Attribute takes ``force``, ``require``,
``optional``, ``disable`` or ``forbid``.

Expand Down Expand Up @@ -7057,7 +7057,7 @@ def network_define(

.. versionadded:: 3003

:param addresses: whitespace separated list of addreses of PCI devices that can be used for this network in `hostdev` forward mode.
:param addresses: whitespace separated list of addresses of PCI devices that can be used for this network in `hostdev` forward mode.
(default ``None``)

.. code-block:: yaml
Expand Down Expand Up @@ -7336,7 +7336,7 @@ def network_update(
- forward: passthrough
- interfaces: "eth10 eth11 eth12"

:param addresses: whitespace separated list of addreses of PCI devices that can be used for this network in `hostdev` forward mode.
:param addresses: whitespace separated list of addresses of PCI devices that can be used for this network in `hostdev` forward mode.
(default ``None``)

.. code-block:: yaml
Expand Down
2 changes: 1 addition & 1 deletion salt/states/boto_apigateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def present(
lambda_funcname_format
Please review the earlier example for the usage. The only substituable keys in the funcname
format are {stage}, {api}, {resource}, {method}.
Any other keys or positional subsitution parameters will be flagged as an invalid input.
Any other keys or positional substitution parameters will be flagged as an invalid input.

authorization_type
This field can be either 'NONE', or 'AWS_IAM'. This will be applied to all methods in the given
Expand Down
2 changes: 1 addition & 1 deletion salt/states/boto_sns.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def present(name, subscriptions=None, region=None, key=None, keyid=None, profile

if subscription not in _subscriptions:
# Ensure the endpoint is set back to its original value,
# incase we starred out a password
# in case we starred out a password
subscription["endpoint"] = _endpoint

if __opts__["test"]:
Expand Down
4 changes: 2 additions & 2 deletions salt/states/virt.py
Original file line number Diff line number Diff line change
Expand Up @@ -1360,7 +1360,7 @@ def network_defined(

.. versionadded:: 3003

:param addresses: whitespace separated list of addreses of PCI devices that can be used for this network in `hostdev` forward mode.
:param addresses: whitespace separated list of addresses of PCI devices that can be used for this network in `hostdev` forward mode.
(default ``None``)

.. code-block:: yaml
Expand Down Expand Up @@ -1687,7 +1687,7 @@ def network_running(

.. versionadded:: 3003

:param addresses: whitespace separated list of addreses of PCI devices that can be used for this network in `hostdev` forward mode.
:param addresses: whitespace separated list of addresses of PCI devices that can be used for this network in `hostdev` forward mode.
(default ``None``)

.. code-block:: yaml
Expand Down
2 changes: 1 addition & 1 deletion salt/transport/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

log = logging.getLogger(__name__)

# Supress warnings when running with a very old pyzmq. This can be removed
# Suppress warnings when running with a very old pyzmq. This can be removed
# after we drop support for Ubuntu 16.04 and Debian 9
warnings.filterwarnings(
"ignore", message="IOLoop.current expected instance.*", category=RuntimeWarning
Expand Down
4 changes: 2 additions & 2 deletions tests/support/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ def __init__(self, *module_names):
def patch_import_function(self):
self.patcher.start()

def restore_import_funtion(self):
def restore_import_function(self):
self.patcher.stop()

def __fake_import__(
Expand Down Expand Up @@ -525,7 +525,7 @@ def __enter__(self):
return self

def __exit__(self, exc_type, exc_value, traceback):
self.restore_import_funtion()
self.restore_import_function()


class MockWraps:
Expand Down