Skip to main content

Salt Describe Runner

Project description

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>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

saltext.salt-describe-0.1.1.tar.gz (58.4 kB view details)

Uploaded Source

Built Distribution

saltext.salt_describe-0.1.1-py2.py3-none-any.whl (30.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file saltext.salt-describe-0.1.1.tar.gz.

File metadata

  • Download URL: saltext.salt-describe-0.1.1.tar.gz
  • Upload date:
  • Size: 58.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.2

File hashes

Hashes for saltext.salt-describe-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0c5763be5388a3d04d78967620b9a3a845339f8740b520ceda019872b9a1470a
MD5 e94e6a8f987ac1f8fac452dd2e83101c
BLAKE2b-256 1a448b12d31ff52518e462c3a477dbc48c31f6bfd489622770de58c7128cf22f

See more details on using hashes here.

File details

Details for the file saltext.salt_describe-0.1.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for saltext.salt_describe-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4f439ea051aa11c9266c3c72e273a60a449d2d5eba4a62d4343329bd6de61cf1
MD5 31632376c9b54580692362ec5ee3d48c
BLAKE2b-256 e672a7626eb532afe0e947ff37626c31f390fce9ba0746a1a9aed797cbce32f6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page