Skip to main content

SALTSTACK TTP

Repository to store TTP based SALTSTACK modules:

  • salt-ttp execution module
  • salt-ttp runner module

TTP modules pull request

Motivation

TTP is a library for parsing semi structured text using templates.

TTP execution and runner modules allow to run commands against minions to obtain text output, parse it using TTP templates and return structured data.

Sample use cases that TTP can help to address:

  • reporting across several minions by parsing text output and returning text tables
  • transforming text data in structured format for storing in mine
  • time series data can be produced using TTP templates and pushed to databases using returners
  • compliance testing by parsing text into structured data with further processing and analysis to detect deviations
  • Given that text data can be transformed into structured data of arbitrary hierarchy, this modules can significantly expand functionality in the area of minions state analysis and processing.

Installation

To use TTP execution module make sure to install salt-ttp on minion, to use TTP runner module make sure to install salt-ttp on master.

From PyPi distribution:

pip install salt-ttp

From GitHub repository:

python -m pip install git+https://github.com/dmulyalin/salt-ttp

To use templates from TTP templates collection, need to install them as well:

pip install ttp_templates

How to use

Run commands to explore doc strings for further usage:

salt minion-id sys.doc ttp

Metadata

Release files for salt-ttp 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for salt-ttp 0.1.0
File Size Uploaded
salt-ttp-0.1.0.tar.gz 9.4 kB Details

Release files / salt-ttp-0.1.0.tar.gz

Download URL salt-ttp-0.1.0.tar.gz
Size 9.4 kB
Tags Source
SHA-256 checksum
How to use checksums
58df5e56f6f6cdf32dba3e706b25b305e53a26dc35d076384351716861f22546
BLAKE2b-256 checksum
How to use checksums
528da94880c8b2a7d10aa93bec5cf3d12a5e0092df9400c964aaf26b506be321
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.0

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page