Skip to main content

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


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.1.tar.gz (43.5 kB view hashes)

Uploaded Source

Built Distribution

saltext.tsl-1.1.1-py2.py3-none-any.whl (10.1 kB view hashes)

Uploaded Python 2 Python 3

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