Salt Describe
Salt Describe is a Salt Extension used to automate the generation of infrastructure as code files using Salt to query target machines.
Quickstart
To get started with your new project:
# Create a new venv
python3 -m venv env --prompt salt-describe
source env/bin/activate
# On mac, you may need to upgrade pip
python -m pip install --upgrade pip
# On WSL or some flavors of linux you may need to install the `enchant`
# library in order to build the docs
sudo apt-get install -y enchant
# Install extension + test/dev/doc dependencies into your environment
python -m pip install -e .[tests,dev,docs]
# Run tests!
python -m nox -e tests-3
# skip requirements install for next time
export SKIP_REQUIREMENTS_INSTALL=1
# Build the docs, serve, and view in your web browser:
python -m nox -e docs && (cd docs/_build/html; python -m webbrowser localhost:8000; python -m http.server; cd -)
# Run the pkg describe function
salt-run describe.pkg <minion-tgt>
# Run the file describe function
salt-run describe.file <minion-tgt> <file name>
# Generate the top file for the minion target based off of previously generated SLS files.
salt-run describe.top <minion-tgt>
Metadata
Release files for saltext.salt-describe 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| saltext.salt-describe-1.0.0.tar.gz | 60.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| saltext.salt_describe-1.0.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 90.9 kB
Release files / saltext.salt-describe-1.0.0.tar.gz
| Download URL | saltext.salt-describe-1.0.0.tar.gz |
|---|---|
| Size | 60.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
627c1f54bbc752dbe51a4bc48fad8366a3a7531dcc00c9aa9cd43bfd8fadf976
|
|
BLAKE2b-256 checksum How to use checksums |
742112c759e457ff68323997f775829a9bc0281ff91fa31f68560ae47e013aeb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.3
|
Release files / saltext.salt_describe-1.0.0-py2.py3-none-any.whl
| Download URL | saltext.salt_describe-1.0.0-py2.py3-none-any.whl |
|---|---|
| Size | 30.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
98c425919fde59a77a015b635dc3b12cfe69382961ae96c0a6a6d1a5552a8f0e
|
|
BLAKE2b-256 checksum How to use checksums |
29700c040924f6653644a894b9291afb7648974c5d018f8e9f9661a146009040
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.3
|