Ensure 3006 version is now 3006.0

This commit is contained in:
Megan Wilhite 2022-12-07 18:31:48 -07:00
parent 97e2994bd5
commit c63f91e262
20 changed files with 38 additions and 38 deletions

View file

@ -1,15 +1,15 @@
.. _release-3006:
.. _release-3006.0:
=========================================
Salt 3006 release notes - Codename Sulfur
=========================================
===========================================
Salt 3006.0 release notes - Codename Sulfur
===========================================
Salt 3006 is currently under development.
Salt 3006.0 is currently under development.
Onedir packaging
----------------
Going forward from the 3006 release, the Salt Project will only provide onedir
Going forward from the 3006.0 release, the Salt Project will only provide onedir
packages to install or upgrade Salt. The classic, non-onedir packages will not
be provided for supported operating systems. See
`Upgrade to onedir <https://docs.saltproject.io/salt/install-guide/en/latest/topics/upgrade-to-onedir.html>`_

View file

@ -1,7 +1,7 @@
"""
An engine that reads messages from Slack and can act on them
.. versionadded:: 3006
.. versionadded:: 3006.0
:depends: `slack_bolt <https://pypi.org/project/slack_bolt/>`_ Python module

View file

@ -104,7 +104,7 @@ def list_tags_of_resource(
salt myminion boto_dynamodb.list_tags_of_resource \
resource_arn=arn:aws:dynamodb:us-east-1:012345678901:table/my-table
.. versionadded:: 3006
.. versionadded:: 3006.0
"""
conn3 = __utils__["boto3.get_connection"](
"dynamodb", region=region, key=key, keyid=keyid, profile=profile
@ -149,7 +149,7 @@ def tag_resource(resource_arn, tags, region=None, key=None, keyid=None, profile=
resource_arn=arn:aws:dynamodb:us-east-1:012345678901:table/my-table \
tags='{Name: my-table, Owner: Ops}'
.. versionadded:: 3006
.. versionadded:: 3006.0
"""
conn3 = __utils__["boto3.get_connection"](
"dynamodb", region=region, key=key, keyid=keyid, profile=profile
@ -191,7 +191,7 @@ def untag_resource(
resource_arn=arn:aws:dynamodb:us-east-1:012345678901:table/my-table \
tag_keys='[Name, Owner]'
.. versionadded:: 3006
.. versionadded:: 3006.0
"""
conn3 = __utils__["boto3.get_connection"](
"dynamodb", region=region, key=key, keyid=keyid, profile=profile

View file

@ -438,7 +438,7 @@ def ifelse(
merge_lists=False,
):
"""
.. versionadded:: 3006
.. versionadded:: 3006.0
Evaluate each pair of arguments up to the last one as a (matcher, value)
tuple, returning ``value`` if matched. If none match, returns the last

View file

@ -697,7 +697,7 @@ def collection_create(
authdb=None,
):
"""
.. versionadded:: 3006
.. versionadded:: 3006.0
Create a collection in the specified database.
@ -752,7 +752,7 @@ def collection_drop(
authdb=None,
):
"""
.. versionadded:: 3006
.. versionadded:: 3006.0
Drop a collection in the specified database.
@ -806,7 +806,7 @@ def collections_list(
authdb=None,
):
"""
.. versionadded:: 3006
.. versionadded:: 3006.0
List the collections available in the specified database.

View file

@ -130,7 +130,7 @@ Functions to interact with Hashicorp Vault.
values, eg ``my-policies/{grains[os]}``. ``{minion}`` is shorthand for
``grains[id]``, eg ``saltstack/minion/{minion}``.
.. versionadded:: 3006
.. versionadded:: 3006.0
Policies can be templated with pillar values as well: ``salt_role_{pillar[roles]}``
Make sure to only reference pillars that are not sourced from Vault since the latter
@ -199,7 +199,7 @@ Functions to interact with Hashicorp Vault.
will force vault to use the connection details from the master or the
local config. Can only be either ``master`` or ``local``.
.. versionadded:: 3006
.. versionadded:: 3006.0
Add this segment to the master configuration file, or
/etc/salt/master.d/peer_run.conf:

View file

@ -561,7 +561,7 @@ def get_kb_package_name(kb, image=None):
"""
Get the actual package name on the system based on the KB name
.. versionadded:: 3006
.. versionadded:: 3006.0
Args:
kb (str): The name of the KB to remove. Can also be just the KB number
@ -597,7 +597,7 @@ def remove_kb(kb, image=None, restart=False):
packages to get the full package name of the KB. It then calls the
``dism.remove_package`` function to remove the package.
.. versionadded:: 3006
.. versionadded:: 3006.0
Args:
kb (str): The name of the KB to remove. Can also be just the KB number

View file

@ -1,6 +1,6 @@
"""
A module for working with the Windows Event log system.
.. versionadded:: 3006
.. versionadded:: 3006.0
"""
# https://docs.microsoft.com/en-us/windows/win32/eventlog/event-logging

View file

@ -2,7 +2,7 @@
LGPO - Registry.pol
===================
.. versionadded:: 3006
.. versionadded:: 3006.0
A module for working with registry based policies in Windows Local Group Policy
(LGPO). This module contains functions for working with the ``Registry.pol``

View file

@ -1414,7 +1414,7 @@ def install(
If set to False it prevents package name normalization more strict way
than ``normalize`` set to ``False`` does.
.. versionadded:: 3006
.. versionadded:: 3006.0
diff_attr:
If a list of package attributes is specified, returned value will
@ -2130,7 +2130,7 @@ def remove(name=None, pkgs=None, **kwargs): # pylint: disable=W0613
split_arch : True
If set to False it prevents package name normalization by removing arch.
.. versionadded:: 3006
.. versionadded:: 3006.0
Returns a dict containing the changes.

View file

@ -21,7 +21,7 @@ Set the following Salt config to setup http json result as external pillar sourc
You can pass additional parameters, they will be added to the http.query call
:py:func:`utils.http.query function <salt.utils.http.query>`:
.. versionchanged:: 3006
.. versionchanged:: 3006.0
If namespace is defined, the data will be added under the specified subkeys in the Pillar structure.
If the with_grains parameter is set, grain keys wrapped in can be provided (wrapped
@ -81,7 +81,7 @@ def ext_pillar(
:param str username: username for auth
:param str pasword: password for auth
:param str namespace: (Optional) A pillar key to namespace the values under.
.. versionadded:: 3006
.. versionadded:: 3006.0
:return: A dictionary of the pillar data to add.
:rtype: dict

View file

@ -83,7 +83,7 @@ api_query_result_limit: ``Use NetBox default``
to the NetBox API. Leaving this unset will use NetBox's default value.
connected_devices: ``False``
.. versionadded:: 3006
.. versionadded:: 3006.0
Whether connected_devices key should be populated with device objects.
If set to True it will force `interfaces` to also be true as a dependency

View file

@ -123,7 +123,7 @@ This example takes the key value pairs returned from vault as follows:
minion-passwd:
minionbadpasswd1
.. versionadded:: 3006
.. versionadded:: 3006.0
Pillar values from previously rendered pillars can be used to template
vault ext_pillar paths.

View file

@ -1,5 +1,5 @@
"""
.. deprecated:: 3006
.. deprecated:: 3006.0
.. warning::

View file

@ -7431,7 +7431,7 @@ def copy_(
process. For existing files and directories it's not enforced.
dir_mode
.. versionadded:: 3006
.. versionadded:: 3006.0
If directories are to be created, passing this option specifies the
permissions for those directories. If this is not set, directories

View file

@ -351,7 +351,7 @@ def managed(name, ppa=None, copr=None, aptkey=True, **kwargs):
allow_insecure_key : True
Whether to allow an insecure (e.g. http vs. https) key_url.
.. versionadded:: 3006
.. versionadded:: 3006.0
"""
if not salt.utils.path.which("apt-key"):
aptkey = False

View file

@ -10,7 +10,7 @@ Control the kernel object attributes exported by sysfs
sysfs.present:
- value: never
.. versionadded:: 3006
.. versionadded:: 3006.0
"""
import re

View file

@ -423,7 +423,7 @@ def kb_removed(name, image=None, restart=False):
"""
Uninstall a KB package
.. versionadded:: 3006
.. versionadded:: 3006.0
Args:
name (str): The name of the KB. Can be with or without the KB at the

View file

@ -2,7 +2,7 @@
LGPO - Registry.pol
===================
.. versionadded:: 3006
.. versionadded:: 3006.0
A state module for working with registry based policies in Windows Local Group
Policy (LGPO). This module contains functions for working with the

View file

@ -330,12 +330,12 @@ class RecursiveDictDiffer(DictDiffer):
If an added key contains a dictionary, include its
keys in dot notation as well. Defaults to false.
.. versionadded:: 3006
.. versionadded:: 3006.0
separator
Separator used to indicate nested keys. Defaults to ``.``.
.. versionadded:: 3006
.. versionadded:: 3006.0
"""
return sorted(self._it_addrm("old", "new", include_nested, separator=separator))
@ -349,12 +349,12 @@ class RecursiveDictDiffer(DictDiffer):
If an added key contains a dictionary, include its
keys in dot notation as well. Defaults to false.
.. versionadded:: 3006
.. versionadded:: 3006.0
separator
Separator used to indicate nested keys. Defaults to ``.``.
.. versionadded:: 3006
.. versionadded:: 3006.0
"""
return sorted(self._it_addrm("new", "old", include_nested, separator=separator))
@ -365,7 +365,7 @@ class RecursiveDictDiffer(DictDiffer):
separator
Separator used to indicate nested keys. Defaults to ``.``.
.. versionadded:: 3006
.. versionadded:: 3006.0
"""
def _changed(diffs, prefix, separator):
@ -440,7 +440,7 @@ class RecursiveDictDiffer(DictDiffer):
separator
Separator used to indicate nested keys. Defaults to ``.``.
.. versionadded:: 3006
.. versionadded:: 3006.0
"""
def _unchanged(current_dict, diffs, prefix, separator):