mirror of
https://github.com/saltstack/salt.git
synced 2025-04-07 04:51:38 +00:00
Add a few more nice to have hooks
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
de0070b713
commit
6c819439b5
889 changed files with 2220 additions and 2325 deletions
|
@ -14,4 +14,3 @@
|
|||
"skipTitle": "Merge forward",
|
||||
"userBlacklist": ["cvrebert", "markusgattol", "olliewalsh", "basepi"]
|
||||
}
|
||||
|
||||
|
|
|
@ -1,9 +1,50 @@
|
|||
---
|
||||
default_language_version:
|
||||
python: python3
|
||||
|
||||
exclude: ^(doc/_static/.*|doc/_themes/.*)$
|
||||
repos:
|
||||
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.4.0
|
||||
hooks:
|
||||
- id: check-merge-conflict # Check for files that contain merge conflict strings.
|
||||
- id: trailing-whitespace # Trims trailing whitespace.
|
||||
args:
|
||||
- --markdown-linebreak-ext=md
|
||||
exclude: >
|
||||
(?x)^(
|
||||
pkg/macos/pkg-resources/.*\.rtf
|
||||
)$
|
||||
|
||||
- id: mixed-line-ending # Replaces or checks mixed line ending.
|
||||
args:
|
||||
- --fix=lf
|
||||
- id: end-of-file-fixer # Makes sure files end in a newline and only a newline.
|
||||
- id: check-ast # Simply check whether files parse as valid python.
|
||||
exclude: >
|
||||
(?x)^(
|
||||
templates/.*
|
||||
)$
|
||||
- id: check-case-conflict # Check for files with names that would conflict on a
|
||||
# case-insensitive filesystem like MacOS HFS+ or Windows FAT.
|
||||
- id: check-json # Attempts to load all json files to verify syntax.
|
||||
- id: check-symlinks # Checks for symlinks which do not point to anything.
|
||||
- id: debug-statements # Check for debugger imports and py37+ breakpoint() calls in python source.
|
||||
exclude: >
|
||||
(?x)^(
|
||||
templates/.*
|
||||
)$
|
||||
- id: fix-byte-order-marker # removes UTF-8 byte order marker
|
||||
- id: forbid-submodules # forbids any submodules in the repository.
|
||||
- id: fix-encoding-pragma # Remove `# -*- coding: utf-8 -*-` from the top of python files.
|
||||
args:
|
||||
- --remove
|
||||
exclude: >
|
||||
(?x)^(
|
||||
salt/ext/.*
|
||||
)$
|
||||
|
||||
- repo: https://github.com/s0undt3ch/python-tools-scripts
|
||||
rev: "0.10.1"
|
||||
hooks:
|
||||
|
|
|
@ -272,7 +272,7 @@ contributions! But your PR will be labeled ``Needs Testcase`` and
|
|||
``Help Wanted`` until someone can get to write the tests/documentation.
|
||||
Of course, if you have a desire but just lack the skill we are more than
|
||||
happy to collaborate and help out! There's the `documentation working
|
||||
group <https://saltstack.gitlab.io/open/docs/docs-hub/topics/home.html>`__
|
||||
group <https://saltstack.gitlab.io/open/docs/docs-hub/topics/home.html>`__
|
||||
and the `testing working group <https://github.com/saltstack/community/tree/master/working_groups/wg-Testing>`__.
|
||||
We also regularly stream our test clinic `live on
|
||||
Twitch <https://www.twitch.tv/saltprojectoss>`__ every Tuesday afternoon
|
||||
|
@ -289,7 +289,7 @@ the ``salt/doc`` folder for documentation. Sphinx is used to generate the
|
|||
documentation, and does require ``imagemagick``. See `Set up imagemagick`_ for
|
||||
more information.
|
||||
|
||||
Before submitting a documentation PR, it helps to first build the Salt docs
|
||||
Before submitting a documentation PR, it helps to first build the Salt docs
|
||||
locally on your machine and preview them. Local previews helps you:
|
||||
|
||||
- Debug potential documentation output errors before submitting a PR.
|
||||
|
@ -297,30 +297,30 @@ locally on your machine and preview them. Local previews helps you:
|
|||
more than 30 minutes to run on a PR.
|
||||
- Ensures the final output looks the way you intended it to look.
|
||||
|
||||
To set up your local environment to preview the core Salt and module
|
||||
To set up your local environment to preview the core Salt and module
|
||||
documentation:
|
||||
|
||||
#. Install the documentation dependencies. For example, on Ubuntu:
|
||||
|
||||
::
|
||||
|
||||
|
||||
sudo apt-get update
|
||||
|
||||
sudo apt-get install -y enchant-2 git gcc imagemagick make zlib1g-dev libc-dev libffi-dev g++ libxml2 libxml2-dev libxslt-dev libcurl4-openssl-dev libssl-dev libgnutls28-dev xz-utils inkscape
|
||||
|
||||
#. Navigate to the folder where you store your Salt repository and remove any
|
||||
#. Navigate to the folder where you store your Salt repository and remove any
|
||||
`.nox` directories that might be in that folder:
|
||||
|
||||
::
|
||||
|
||||
|
||||
rm -rf .nox
|
||||
|
||||
#. Install `pyenv` for the version of Python needed to run the docs. As of the
|
||||
#. Install `pyenv` for the version of Python needed to run the docs. As of the
|
||||
time of writing, the Salt docs theme is not compatible with Python 3.10, so
|
||||
you'll need to run 3.9 or earlier. For example:
|
||||
|
||||
::
|
||||
|
||||
|
||||
pyenv install 3.7.15
|
||||
pyenv virtualenv 3.7.15 salt-docs
|
||||
echo 'salt-docs' > .python-version
|
||||
|
@ -328,14 +328,14 @@ documentation:
|
|||
#. Activate `pyenv` if it's not auto-activated:
|
||||
|
||||
::
|
||||
|
||||
|
||||
pyenv exec pip install -U pip setuptools wheel
|
||||
|
||||
#. Install `nox` into your pyenv environment, which is the utility that will
|
||||
build the Salt documentation:
|
||||
|
||||
::
|
||||
|
||||
|
||||
pyenv exec pip install nox
|
||||
|
||||
|
||||
|
@ -346,7 +346,7 @@ with this one-liner:
|
|||
|
||||
python -m nox -e 'docs-html(compress=False, clean=False)'; cd doc/_build/html; python -m webbrowser http://localhost:8000/contents.html; python -m http.server
|
||||
|
||||
The first time you build the docs, it will take a while because there are a
|
||||
The first time you build the docs, it will take a while because there are a
|
||||
*lot* of modules. Maybe you should go grab some dessert if you already finished
|
||||
that sandwich. But once nox and Sphinx are done building the docs, python should
|
||||
launch your default browser with the URL
|
||||
|
@ -581,7 +581,7 @@ When you open your PR, a reviewer will get automatically assigned. If
|
|||
your PR is submitted during the week you should be able to expect some
|
||||
kind of communication within that business day. If your tests are
|
||||
passing and we're not in a code freeze, ideally your code will be merged
|
||||
that week or month. If you haven't heard from your assigned reviewer, ping them
|
||||
that week or month. If you haven't heard from your assigned reviewer, ping them
|
||||
on GitHub, `irc <https://web.libera.chat/#salt>`__, or Community Slack.
|
||||
|
||||
It's likely that your reviewer will leave some comments that need
|
||||
|
|
52
README.rst
52
README.rst
|
@ -41,54 +41,54 @@
|
|||
|
||||
About Salt
|
||||
==========
|
||||
Built on Python, Salt is an event-driven automation tool and framework to
|
||||
deploy, configure, and manage complex IT systems. Use Salt to automate common
|
||||
infrastructure administration tasks and ensure that all the components of your
|
||||
Built on Python, Salt is an event-driven automation tool and framework to
|
||||
deploy, configure, and manage complex IT systems. Use Salt to automate common
|
||||
infrastructure administration tasks and ensure that all the components of your
|
||||
infrastructure are operating in a consistent desired state.
|
||||
|
||||
Salt has many possible uses, including configuration management, which involves:
|
||||
|
||||
* Managing operating system deployment and configuration.
|
||||
* Installing and configuring software applications and services.
|
||||
* Managing servers, virtual machines, containers, databases, web servers,
|
||||
* Managing servers, virtual machines, containers, databases, web servers,
|
||||
network devices, and more.
|
||||
* Ensuring consistent configuration and preventing configuration drift.
|
||||
|
||||
Salt is ideal for configuration management because it is pluggable,
|
||||
customizable, and plays well with many existing technologies. Salt enables you
|
||||
to deploy and manage applications that use any tech stack running on nearly any
|
||||
`operating system <https://docs.saltproject.io/salt/install-guide/en/latest/topics/salt-supported-operating-systems.html>`_,
|
||||
including different types of network devices such as switches and routers from a
|
||||
Salt is ideal for configuration management because it is pluggable,
|
||||
customizable, and plays well with many existing technologies. Salt enables you
|
||||
to deploy and manage applications that use any tech stack running on nearly any
|
||||
`operating system <https://docs.saltproject.io/salt/install-guide/en/latest/topics/salt-supported-operating-systems.html>`_,
|
||||
including different types of network devices such as switches and routers from a
|
||||
variety of vendors.
|
||||
|
||||
In addition to configuration management Salt can also:
|
||||
|
||||
* Automate and orchestrate routine IT processes, such as common required tasks
|
||||
* Automate and orchestrate routine IT processes, such as common required tasks
|
||||
for scheduled server downtimes or upgrading operating systems or applications.
|
||||
* Create self-aware, self-healing systems that can automatically respond to
|
||||
* Create self-aware, self-healing systems that can automatically respond to
|
||||
outages, common administration problems, or other important events.
|
||||
|
||||
|
||||
About our sponsors
|
||||
==================
|
||||
Salt powers VMware's `vRealize Automation SaltStack Config`_, and can be found
|
||||
under the hood of products from Juniper, Cisco, Cloudflare, Nutanix, SUSE, and
|
||||
Salt powers VMware's `vRealize Automation SaltStack Config`_, and can be found
|
||||
under the hood of products from Juniper, Cisco, Cloudflare, Nutanix, SUSE, and
|
||||
Tieto, to name a few.
|
||||
|
||||
The original sponsor of our community, SaltStack, was `acquired by VMware in 2020 <https://www.vmware.com/company/acquisitions/saltstack.html>`_.
|
||||
The Salt Project remains an open source ecosystem that VMware supports and
|
||||
contributes to. VMware ensures the code integrity and quality of the Salt
|
||||
modules by acting as the official sponsor and manager of the Salt project. Many
|
||||
of the core Salt Project contributors are also VMware employees. This team
|
||||
carefully reviews and enhances the Salt modules to ensure speed, quality, and
|
||||
contributes to. VMware ensures the code integrity and quality of the Salt
|
||||
modules by acting as the official sponsor and manager of the Salt project. Many
|
||||
of the core Salt Project contributors are also VMware employees. This team
|
||||
carefully reviews and enhances the Salt modules to ensure speed, quality, and
|
||||
security.
|
||||
|
||||
|
||||
Download and install Salt
|
||||
=========================
|
||||
Salt is tested and packaged to run on CentOS, Debian, RHEL, Ubuntu, MacOS,
|
||||
Windows, and more. Download Salt and get started now. See
|
||||
`supported operating systems <https://docs.saltproject.io/salt/install-guide/en/latest/topics/salt-supported-operating-systems.html>`_
|
||||
Windows, and more. Download Salt and get started now. See
|
||||
`supported operating systems <https://docs.saltproject.io/salt/install-guide/en/latest/topics/salt-supported-operating-systems.html>`_
|
||||
for more information.
|
||||
|
||||
To download and install Salt, see:
|
||||
|
@ -100,8 +100,8 @@ Technical support
|
|||
=================
|
||||
Report bugs or problems using Salt by opening an issue: `<https://github.com/saltstack/salt/issues>`_
|
||||
|
||||
To join our community forum where you can exchange ideas, best practices,
|
||||
discuss technical support questions, and talk to project maintainers, join our
|
||||
To join our community forum where you can exchange ideas, best practices,
|
||||
discuss technical support questions, and talk to project maintainers, join our
|
||||
Slack workspace: `Salt Project Community Slack`_
|
||||
|
||||
|
||||
|
@ -137,11 +137,11 @@ refer to the `SECURITY.md`_ file found in this repository.
|
|||
|
||||
Join our community
|
||||
==================
|
||||
Salt is built by the Salt Project community, which includes more than 3,000
|
||||
contributors working in roles just like yours. This well-known and trusted
|
||||
community works together to improve the underlying technology and extend Salt by
|
||||
creating a variety of execution and state modules to accomplish the most common
|
||||
tasks or solve the most important problems that people in your role are likely
|
||||
Salt is built by the Salt Project community, which includes more than 3,000
|
||||
contributors working in roles just like yours. This well-known and trusted
|
||||
community works together to improve the underlying technology and extend Salt by
|
||||
creating a variety of execution and state modules to accomplish the most common
|
||||
tasks or solve the most important problems that people in your role are likely
|
||||
to face.
|
||||
|
||||
If you want to help extend Salt or solve a problem with Salt, you can join our
|
||||
|
|
|
@ -30,4 +30,3 @@ guidelines for filing bug reports:
|
|||
**SaltStack Support** - If you need dedicated, prioritized support, please
|
||||
consider a SaltStack Support package that fits your needs:
|
||||
`<http://www.saltstack.com/support>`_
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
Improve support for listing macOS brew casks
|
||||
Improve support for listing macOS brew casks
|
||||
|
|
|
@ -1 +1 @@
|
|||
Remove and deprecate the __orchestration__ key from salt.runner and salt.wheel return data. To get it back, set features.enable_deprecated_orchestration_flag master configuration option to True. The flag will be completely removed in Salt 3008 Argon.
|
||||
Remove and deprecate the __orchestration__ key from salt.runner and salt.wheel return data. To get it back, set features.enable_deprecated_orchestration_flag master configuration option to True. The flag will be completely removed in Salt 3008 Argon.
|
||||
|
|
|
@ -1 +1 @@
|
|||
Added ability for `salt.wait_for_event` to handle `event_id`s that have a list value.
|
||||
Added ability for `salt.wait_for_event` to handle `event_id`s that have a list value.
|
||||
|
|
|
@ -1 +1 @@
|
|||
Added .0 back to our versioning scheme for future versions (e.g. 3006.0)
|
||||
Added .0 back to our versioning scheme for future versions (e.g. 3006.0)
|
||||
|
|
|
@ -1 +1 @@
|
|||
Fixed parsing new format of terraform states in roster.terraform
|
||||
Fixed parsing new format of terraform states in roster.terraform
|
||||
|
|
|
@ -1 +1 @@
|
|||
Fix SoftLayer configuration not raising an exception when a domain is missing
|
||||
Fix SoftLayer configuration not raising an exception when a domain is missing
|
||||
|
|
|
@ -1 +1 @@
|
|||
Added EndeavourOS to the Arch os_family.
|
||||
Added EndeavourOS to the Arch os_family.
|
||||
|
|
|
@ -1 +1 @@
|
|||
Fix Salt Package Manager (SPM) exception when calling spm create_repo .
|
||||
Fix Salt Package Manager (SPM) exception when calling spm create_repo .
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
Adds __env__substitution to ext_pillar.stack; followup of #61531, improved exception handling for stacked template (jinja) template rendering and yaml parsing in ext_pillar.stack
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
updated rest_cherry/app to properly detect arg sent as a string as curl will do when only one arg is supplied.
|
||||
updated rest_cherry/app to properly detect arg sent as a string as curl will do when only one arg is supplied.
|
||||
|
|
|
@ -1 +1 @@
|
|||
Added "connected_devices" feature to netbox pillar module. It contains extra information about devices connected to the minion
|
||||
Added "connected_devices" feature to netbox pillar module. It contains extra information about devices connected to the minion
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
netapi_enable_clients option to allow enabling/disabling of clients in salt-api.
|
||||
By default all clients will now be disabled. Users of salt-api will need
|
||||
to update their master config to enable the clients that they use. Not adding
|
||||
the netapi_enable_clients option with required clients to the master config will
|
||||
the netapi_enable_clients option with required clients to the master config will
|
||||
disable salt-api.
|
||||
|
|
|
@ -1 +1 @@
|
|||
salt-cloud support IMDSv2 tokens when using 'use-instance-role-credentials'
|
||||
salt-cloud support IMDSv2 tokens when using 'use-instance-role-credentials'
|
||||
|
|
|
@ -219,4 +219,4 @@
|
|||
"is_windows": "true",
|
||||
"ssh_username": "Administrator"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -47,4 +47,3 @@
|
|||
- artifacts/
|
||||
- .kitchen/
|
||||
expire_in: 6 months
|
||||
|
||||
|
|
|
@ -6,4 +6,3 @@
|
|||
# sudo: True # Whether to sudo to root, not enabled by default
|
||||
#web2:
|
||||
# host: 192.168.42.2
|
||||
|
||||
|
|
|
@ -538,8 +538,8 @@ syndic_user: salt
|
|||
# variable_end_string: '}}'
|
||||
# comment_start_string: '{#'
|
||||
# comment_end_string: '#}'
|
||||
# line_statement_prefix:
|
||||
# line_comment_prefix:
|
||||
# line_statement_prefix:
|
||||
# line_comment_prefix:
|
||||
# trim_blocks: False
|
||||
# lstrip_blocks: False
|
||||
# newline_sequence: '\n'
|
||||
|
@ -553,8 +553,8 @@ syndic_user: salt
|
|||
# variable_end_string: '}}'
|
||||
# comment_start_string: '{#'
|
||||
# comment_end_string: '#}'
|
||||
# line_statement_prefix:
|
||||
# line_comment_prefix:
|
||||
# line_statement_prefix:
|
||||
# line_comment_prefix:
|
||||
# trim_blocks: False
|
||||
# lstrip_blocks: False
|
||||
# newline_sequence: '\n'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.. admonition:: Using extend with require or watch
|
||||
|
||||
The ``extend`` statement works differently for ``require`` or ``watch``.
|
||||
It appends to, rather than replacing the requisite component.
|
||||
It appends to, rather than replacing the requisite component.
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
Grains can be set by users that have access to the minion configuration files on
|
||||
the local system, making them less secure than other identifiers in Salt. Avoid
|
||||
storing sensitive data, such as passwords or keys, on minions. Instead, make
|
||||
use of :ref:`pillar` and/or :ref:`sdb`.
|
||||
use of :ref:`pillar` and/or :ref:`sdb`.
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
:ref:`Jinja <understanding-jinja>` supports a `secure, sandboxed template execution environment
|
||||
<https://jinja.palletsprojects.com/en/2.11.x/sandbox/>`__ that Salt
|
||||
takes advantage of. Other text :ref:`renderers` do not support this
|
||||
functionality, so Salt highly recommends usage of ``jinja`` / ``jinja|yaml``.
|
||||
functionality, so Salt highly recommends usage of ``jinja`` / ``jinja|yaml``.
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
**Before continuing** make sure you have a working Salt installation by
|
||||
following the instructions in the
|
||||
following the instructions in the
|
||||
`Salt install guide <https://docs.saltproject.io/salt/install-guide/en/latest/>`_.
|
||||
|
||||
.. admonition:: Stuck?
|
||||
|
||||
The Salt Project community can help offer advice and help troubleshoot
|
||||
The Salt Project community can help offer advice and help troubleshoot
|
||||
technical issues as you're learning about Salt. One of the best places to
|
||||
talk to the community is on the
|
||||
talk to the community is on the
|
||||
`Salt Project Slack workspace <https://saltstackcommunity.slack.com/>`_.
|
||||
|
|
2
doc/_templates/autosummary.rst.tmpl
vendored
2
doc/_templates/autosummary.rst.tmpl
vendored
|
@ -3,4 +3,4 @@
|
|||
{{ underline }}
|
||||
|
||||
.. automodule:: {{ fullname }}
|
||||
:members:
|
||||
:members:
|
||||
|
|
|
@ -283,4 +283,3 @@ vm.swappiness:
|
|||
|
||||
\end{multicols}
|
||||
\end{document}
|
||||
|
||||
|
|
|
@ -4,4 +4,3 @@
|
|||
#
|
||||
#
|
||||
gource -1280x720 -s 0.5 --stop-at-end --hide filenames --highlight-all-users --file-filter po -a 5 --camera-mode overview --disable-progress --disable-bloom --output-ppm-stream - --output-framerate 30 -o - | ffmpeg -y -r 60 -f image2pipe -vcodec ppm -i - -vcodec libvpx -b 10000K gource.webm
|
||||
|
||||
|
|
|
@ -99,7 +99,7 @@ Glossary
|
|||
<salt.runners.jobs>`.
|
||||
|
||||
Job Cache
|
||||
A storage location for job results, which may then be queried by a
|
||||
A storage location for job results, which may then be queried by a
|
||||
salt runner or an external system. May be local to a salt master
|
||||
or stored externally.
|
||||
|
||||
|
@ -272,4 +272,3 @@ Glossary
|
|||
A master process which can send notices and receive replies from
|
||||
minions. *See also*:
|
||||
:conf_master:`worker_threads`.
|
||||
|
||||
|
|
1376
doc/man/salt.7
1376
doc/man/salt.7
File diff suppressed because it is too large
Load diff
|
@ -2,4 +2,4 @@ salt.auth.auto
|
|||
==============
|
||||
|
||||
.. automodule:: salt.auth.auto
|
||||
:members:
|
||||
:members:
|
||||
|
|
|
@ -2,4 +2,4 @@ salt.auth.django
|
|||
================
|
||||
|
||||
.. automodule:: salt.auth.django
|
||||
:members:
|
||||
:members:
|
||||
|
|
|
@ -2,4 +2,4 @@ salt.auth.keystone
|
|||
==================
|
||||
|
||||
.. automodule:: salt.auth.keystone
|
||||
:members:
|
||||
:members:
|
||||
|
|
|
@ -2,4 +2,4 @@ salt.auth.ldap
|
|||
==============
|
||||
|
||||
.. automodule:: salt.auth.ldap
|
||||
:members:
|
||||
:members:
|
||||
|
|
|
@ -2,4 +2,4 @@ salt.auth.mysql
|
|||
===============
|
||||
|
||||
.. automodule:: salt.auth.mysql
|
||||
:members:
|
||||
:members:
|
||||
|
|
|
@ -2,4 +2,4 @@ salt.auth.pam
|
|||
=============
|
||||
|
||||
.. automodule:: salt.auth.pam
|
||||
:members:
|
||||
:members:
|
||||
|
|
|
@ -2,4 +2,4 @@ salt.auth.pki
|
|||
=============
|
||||
|
||||
.. automodule:: salt.auth.pki
|
||||
:members:
|
||||
:members:
|
||||
|
|
|
@ -2,4 +2,4 @@ salt.auth.sharedsecret
|
|||
======================
|
||||
|
||||
.. automodule:: salt.auth.sharedsecret
|
||||
:members:
|
||||
:members:
|
||||
|
|
|
@ -2,4 +2,4 @@ salt.auth.yubico
|
|||
================
|
||||
|
||||
.. automodule:: salt.auth.yubico
|
||||
:members:
|
||||
:members:
|
||||
|
|
|
@ -2,4 +2,4 @@ salt.beacons.btmp
|
|||
=================
|
||||
|
||||
.. automodule:: salt.beacons.btmp
|
||||
:members:
|
||||
:members:
|
||||
|
|
|
@ -2,4 +2,4 @@ salt.beacons.diskusage
|
|||
======================
|
||||
|
||||
.. automodule:: salt.beacons.diskusage
|
||||
:members:
|
||||
:members:
|
||||
|
|
|
@ -2,4 +2,4 @@ salt.beacons.inotify
|
|||
====================
|
||||
|
||||
.. automodule:: salt.beacons.inotify
|
||||
:members:
|
||||
:members:
|
||||
|
|
|
@ -2,4 +2,4 @@ salt.beacons.journald
|
|||
=====================
|
||||
|
||||
.. automodule:: salt.beacons.journald
|
||||
:members:
|
||||
:members:
|
||||
|
|
|
@ -2,4 +2,4 @@ salt.beacons.load
|
|||
=================
|
||||
|
||||
.. automodule:: salt.beacons.load
|
||||
:members:
|
||||
:members:
|
||||
|
|
|
@ -2,4 +2,4 @@ salt.beacons.network_info
|
|||
=========================
|
||||
|
||||
.. automodule:: salt.beacons.network_info
|
||||
:members:
|
||||
:members:
|
||||
|
|
|
@ -2,4 +2,4 @@ salt.beacons.pkg
|
|||
================
|
||||
|
||||
.. automodule:: salt.beacons.pkg
|
||||
:members:
|
||||
:members:
|
||||
|
|
|
@ -3,4 +3,4 @@ salt.beacons.salt_monitor
|
|||
=========================
|
||||
|
||||
.. automodule:: salt.beacons.salt_monitor
|
||||
:members:
|
||||
:members:
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
salt.beacons.sensehat module
|
||||
============================
|
||||
|
||||
.. automodule:: salt.beacons.sensehat
|
||||
:members:
|
||||
salt.beacons.sensehat module
|
||||
============================
|
||||
|
||||
.. automodule:: salt.beacons.sensehat
|
||||
:members:
|
||||
|
|
|
@ -2,4 +2,4 @@ salt.beacons.service
|
|||
====================
|
||||
|
||||
.. automodule:: salt.beacons.service
|
||||
:members:
|
||||
:members:
|
||||
|
|
|
@ -2,4 +2,4 @@ salt.beacons.sh
|
|||
===============
|
||||
|
||||
.. automodule:: salt.beacons.sh
|
||||
:members:
|
||||
:members:
|
||||
|
|
|
@ -2,4 +2,4 @@ salt.beacons.twilio_txt_msg
|
|||
===========================
|
||||
|
||||
.. automodule:: salt.beacons.twilio_txt_msg
|
||||
:members:
|
||||
:members:
|
||||
|
|
|
@ -2,4 +2,4 @@ salt.beacons.wtmp
|
|||
=================
|
||||
|
||||
.. automodule:: salt.beacons.wtmp
|
||||
:members:
|
||||
:members:
|
||||
|
|
|
@ -14,4 +14,4 @@
|
|||
|
||||
The location of the Salt configuration directory. This directory contains
|
||||
the configuration files for Salt master and minions. The default location
|
||||
on most systems is ``/etc/salt``.
|
||||
on most systems is ``/etc/salt``.
|
||||
|
|
|
@ -8,4 +8,4 @@
|
|||
|
||||
.. option:: --pid-file PIDFILE
|
||||
|
||||
Specify the location of the pidfile. Default: /var/run/|salt-daemon|.pid
|
||||
Specify the location of the pidfile. Default: /var/run/|salt-daemon|.pid
|
||||
|
|
|
@ -14,4 +14,4 @@
|
|||
|
||||
.. option:: -S, --ipcidr
|
||||
|
||||
Match based on Subnet (CIDR notation) or IPv4 address.
|
||||
Match based on Subnet (CIDR notation) or IPv4 address.
|
||||
|
|
|
@ -19,4 +19,4 @@ Logging options which override any settings defined on the configuration files.
|
|||
|
||||
Logfile logging log level. One of ``all``, ``garbage``, ``trace``,
|
||||
``debug``, ``info``, ``warning``, ``error``, ``quiet``. Default:
|
||||
|loglevel|.
|
||||
|loglevel|.
|
||||
|
|
|
@ -8,4 +8,3 @@ minion id. See https://docs.python.org/3/library/fnmatch.html#module-fnmatch.
|
|||
|
||||
The target expression will be interpreted as a PCRE regular expression
|
||||
rather than a shell glob.
|
||||
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
|
||||
The timeout in seconds to wait for replies from the Salt minions. The
|
||||
timeout number specifies how long the command line client will wait to
|
||||
query the minions and check on running jobs. Default: |timeout|
|
||||
query the minions and check on running jobs. Default: |timeout|
|
||||
|
|
|
@ -40,4 +40,4 @@ See also
|
|||
|
||||
:manpage:`salt-api(7)`
|
||||
:manpage:`salt(7)`
|
||||
:manpage:`salt-master(1)`
|
||||
:manpage:`salt-master(1)`
|
||||
|
|
|
@ -113,4 +113,4 @@ See also
|
|||
|
||||
:manpage:`salt(1)`
|
||||
:manpage:`salt-master(1)`
|
||||
:manpage:`salt-minion(1)`
|
||||
:manpage:`salt-minion(1)`
|
||||
|
|
|
@ -43,7 +43,7 @@ Options
|
|||
|
||||
The path to the salt installation, defaults to .
|
||||
|
||||
.. option:: --name, -n
|
||||
.. option:: --name, -n
|
||||
|
||||
The module name for the new module
|
||||
|
||||
|
@ -74,4 +74,4 @@ See also
|
|||
:manpage:`salt-minion(1)`
|
||||
:manpage:`salt-run(1)`
|
||||
:manpage:`salt-ssh(1)`
|
||||
:manpage:`salt-syndic(1)`
|
||||
:manpage:`salt-syndic(1)`
|
||||
|
|
|
@ -36,4 +36,4 @@ See also
|
|||
|
||||
:manpage:`salt(1)`
|
||||
:manpage:`salt(7)`
|
||||
:manpage:`salt-minion(1)`
|
||||
:manpage:`salt-minion(1)`
|
||||
|
|
|
@ -37,4 +37,4 @@ See also
|
|||
|
||||
:manpage:`salt(1)`
|
||||
:manpage:`salt(7)`
|
||||
:manpage:`salt-master(1)`
|
||||
:manpage:`salt-master(1)`
|
||||
|
|
|
@ -50,4 +50,4 @@ See also
|
|||
|
||||
:manpage:`salt(1)`
|
||||
:manpage:`salt-master(1)`
|
||||
:manpage:`salt-minion(1)`
|
||||
:manpage:`salt-minion(1)`
|
||||
|
|
|
@ -38,4 +38,4 @@ See also
|
|||
|
||||
:manpage:`salt(1)`
|
||||
:manpage:`salt-master(1)`
|
||||
:manpage:`salt-minion(1)`
|
||||
:manpage:`salt-minion(1)`
|
||||
|
|
|
@ -2,4 +2,4 @@ salt.cloud.clouds.cloudstack
|
|||
============================
|
||||
|
||||
.. automodule:: salt.cloud.clouds.cloudstack
|
||||
:members:
|
||||
:members:
|
||||
|
|
|
@ -2,4 +2,4 @@ salt.cloud.clouds.digitalocean
|
|||
==============================
|
||||
|
||||
.. automodule:: salt.cloud.clouds.digitalocean
|
||||
:members:
|
||||
:members:
|
||||
|
|
|
@ -2,4 +2,4 @@ salt.cloud.clouds.ec2
|
|||
=====================
|
||||
|
||||
.. automodule:: salt.cloud.clouds.ec2
|
||||
:members:
|
||||
:members:
|
||||
|
|
|
@ -2,4 +2,4 @@ salt.cloud.clouds.gce
|
|||
=====================
|
||||
|
||||
.. automodule:: salt.cloud.clouds.gce
|
||||
:members:
|
||||
:members:
|
||||
|
|
|
@ -2,4 +2,4 @@ salt.cloud.clouds.gogrid
|
|||
========================
|
||||
|
||||
.. automodule:: salt.cloud.clouds.gogrid
|
||||
:members:
|
||||
:members:
|
||||
|
|
|
@ -2,4 +2,4 @@ salt.cloud.clouds.joyent
|
|||
========================
|
||||
|
||||
.. automodule:: salt.cloud.clouds.joyent
|
||||
:members:
|
||||
:members:
|
||||
|
|
|
@ -2,4 +2,4 @@ salt.cloud.clouds.lxc
|
|||
=====================
|
||||
|
||||
.. automodule:: salt.cloud.clouds.lxc
|
||||
:members:
|
||||
:members:
|
||||
|
|
|
@ -2,4 +2,4 @@ salt.cloud.clouds.msazure
|
|||
=========================
|
||||
|
||||
.. automodule:: salt.cloud.clouds.msazure
|
||||
:members:
|
||||
:members:
|
||||
|
|
|
@ -2,4 +2,4 @@ salt.cloud.clouds.opennebula
|
|||
============================
|
||||
|
||||
.. automodule:: salt.cloud.clouds.opennebula
|
||||
:members:
|
||||
:members:
|
||||
|
|
|
@ -2,4 +2,4 @@ salt.cloud.clouds.parallels
|
|||
===========================
|
||||
|
||||
.. automodule:: salt.cloud.clouds.parallels
|
||||
:members:
|
||||
:members:
|
||||
|
|
|
@ -2,4 +2,4 @@ salt.cloud.clouds.proxmox
|
|||
=========================
|
||||
|
||||
.. automodule:: salt.cloud.clouds.proxmox
|
||||
:members:
|
||||
:members:
|
||||
|
|
|
@ -2,4 +2,4 @@ salt.cloud.clouds.pyrax
|
|||
=======================
|
||||
|
||||
.. automodule:: salt.cloud.clouds.pyrax
|
||||
:members:
|
||||
:members:
|
||||
|
|
|
@ -2,4 +2,4 @@ salt.cloud.clouds.qingcloud
|
|||
===========================
|
||||
|
||||
.. automodule:: salt.cloud.clouds.qingcloud
|
||||
:members:
|
||||
:members:
|
||||
|
|
|
@ -2,4 +2,4 @@ salt.cloud.clouds.saltify
|
|||
=========================
|
||||
|
||||
.. automodule:: salt.cloud.clouds.saltify
|
||||
:members:
|
||||
:members:
|
||||
|
|
|
@ -2,4 +2,4 @@ salt.cloud.clouds.scaleway
|
|||
==========================
|
||||
|
||||
.. automodule:: salt.cloud.clouds.scaleway
|
||||
:members:
|
||||
:members:
|
||||
|
|
|
@ -2,4 +2,4 @@ salt.cloud.clouds.softlayer
|
|||
===========================
|
||||
|
||||
.. automodule:: salt.cloud.clouds.softlayer
|
||||
:members:
|
||||
:members:
|
||||
|
|
|
@ -2,4 +2,4 @@ salt.cloud.clouds.softlayer_hw
|
|||
==============================
|
||||
|
||||
.. automodule:: salt.cloud.clouds.softlayer_hw
|
||||
:members:
|
||||
:members:
|
||||
|
|
|
@ -433,4 +433,3 @@ For reference, see:
|
|||
|
||||
* `Netmiko Salt proxy module
|
||||
<https://docs.saltproject.io/en/latest/ref/proxy/all/salt.proxy.netmiko_px.html#module-salt.proxy.netmiko_px>`_
|
||||
|
||||
|
|
|
@ -222,7 +222,7 @@ similar way:
|
|||
delta:
|
||||
2018.3.4
|
||||
|
||||
Each of the Minions should send a ``2018.3.4`` 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?
|
||||
|
|
|
@ -240,8 +240,8 @@ at the ``debug`` level, and sets a custom module to the ``all`` level:
|
|||
|
||||
.. conf_log:: log_fmt_jid
|
||||
|
||||
You can determine what log call name to use here by adding ``%(module)s`` to the
|
||||
log format. Typically, it is the path of the file which generates the log
|
||||
You can determine what log call name to use here by adding ``%(module)s`` to the
|
||||
log format. Typically, it is the path of the file which generates the log
|
||||
without the trailing ``.py`` and with path separators replaced with ``.``
|
||||
|
||||
|
||||
|
|
|
@ -2,4 +2,4 @@ salt.engines.sqs_events
|
|||
=======================
|
||||
|
||||
.. automodule:: salt.engines.sqs_events
|
||||
:members:
|
||||
:members:
|
||||
|
|
|
@ -2,4 +2,4 @@ salt.engines.test
|
|||
=================
|
||||
|
||||
.. automodule:: salt.engines.test
|
||||
:members:
|
||||
:members:
|
||||
|
|
|
@ -3,4 +3,3 @@ salt.executors.direct_call
|
|||
|
||||
.. automodule:: salt.executors.direct_call
|
||||
:members:
|
||||
|
||||
|
|
|
@ -3,4 +3,3 @@ salt.executors.docker
|
|||
|
||||
.. automodule:: salt.executors.docker
|
||||
:members:
|
||||
|
||||
|
|
|
@ -3,4 +3,3 @@ salt.executors.splay
|
|||
|
||||
.. automodule:: salt.executors.splay
|
||||
:members:
|
||||
|
||||
|
|
|
@ -3,4 +3,3 @@ salt.executors.sudo
|
|||
|
||||
.. automodule:: salt.executors.sudo
|
||||
:members:
|
||||
|
||||
|
|
|
@ -3,4 +3,3 @@ salt.executors.transactional_update module
|
|||
|
||||
.. automodule:: salt.executors.transactional_update
|
||||
:members:
|
||||
|
||||
|
|
|
@ -10,4 +10,4 @@ display error messages appropriately.
|
|||
:toctree:
|
||||
:template: autosummary.rst.tmpl
|
||||
|
||||
salt.exceptions
|
||||
salt.exceptions
|
||||
|
|
|
@ -10,4 +10,4 @@ Contents
|
|||
.. toctree::
|
||||
:glob:
|
||||
|
||||
*
|
||||
*
|
||||
|
|
|
@ -3,4 +3,4 @@ salt.exceptions
|
|||
===============
|
||||
|
||||
.. automodule:: salt.exceptions
|
||||
:members:
|
||||
:members:
|
||||
|
|
|
@ -2,4 +2,4 @@ salt.modules.aliases
|
|||
====================
|
||||
|
||||
.. automodule:: salt.modules.aliases
|
||||
:members:
|
||||
:members:
|
||||
|
|
|
@ -2,4 +2,4 @@ salt.modules.alternatives
|
|||
=========================
|
||||
|
||||
.. automodule:: salt.modules.alternatives
|
||||
:members:
|
||||
:members:
|
||||
|
|
|
@ -2,4 +2,4 @@ salt.modules.apache
|
|||
===================
|
||||
|
||||
.. automodule:: salt.modules.apache
|
||||
:members:
|
||||
:members:
|
||||
|
|
|
@ -3,4 +3,4 @@ salt.modules.aptpkg
|
|||
|
||||
.. automodule:: salt.modules.aptpkg
|
||||
:members:
|
||||
:exclude-members: available_version
|
||||
:exclude-members: available_version
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue