跳转到主要内容

Salt Describe Runner

项目描述

Salt Describe

Salt Describe是一个Salt扩展,用于使用Salt查询目标机器来自动生成基础设施即代码文件。

快速入门

要开始使用您的新的项目

# 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>

项目详情


下载文件

下载适用于您平台文件的文件。如果您不确定选择哪一个,请了解更多关于安装包的信息。

源分发

saltext.salt-describe-1.0.0.tar.gz (60.0 kB 查看哈希值)

上传时间:

构建分发

saltext.salt_describe-1.0.0-py2.py3-none-any.whl (30.9 kB 查看哈希值)

上传时间: Python 2 Python 3

由以下机构支持