saltext TSL The State Library Module
Project description
tsl
saltext TSL The State Library Module
Maintanance
Developed and maintained by www.turtletraction.com
Overview
The State Library aims to provide a way to document state files in a consistant manner, similar to sys.doc
.
By adding the DOC
section below to the top of the states file the following feature are enabled.
- State file overview
- Searchable state file estate
- Automated Variable extraction ** Pillar ** Grains ** Include (To be added)
#START-DOC
# File_name: state.sls
# Author: XXXXXX
# Description:
# Grains (if applicable):
# Pillars (if applicable):
# Syntax: XXXXXX
#END-DOC
Quickstart
To get started with tsl:
Install the extention on the minion
sudo pip install saltext.tsl
Test (Listing states for a specific minion included in highstate)
sudo '<minion>' tsl.list
Use sys,doc to list all tsl functions
sudo '<minion>' sys.doc tsl
For any queries please sedn an email to info@turtletraction
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
saltext.tsl-1.1.0.tar.gz
(43.4 kB
view hashes)
Built Distribution
Close
Hashes for saltext.tsl-1.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f49d39f842685b19e350fa9c393a63a27b7b21381bf82d8086b06f321c0cc8f3 |
|
MD5 | 659bffca6831b9daaf2ad51042208838 |
|
BLAKE2b-256 | 3b8c74890326779ca9282f6f6d00fa97d413dcc7774910b9d03b100b4b243c26 |