salt.modules.jsonnet module

Jsonnet - A data templating language

Module to provide parsing support of jsonnet format.

depends
  • jsonnet Python module (>= 0.11.2)

configuration

This module accepts library paths configuration that can be passed as function parameters or as configuration settings in /etc/salt/minion on the relevant minions:

jsonnet.library_paths:
  - /path/to/jsonnet/library
salt.modules.jsonnet.evaluate(contents, jsonnet_library_paths=None)

Evaluate a jsonnet input string.

contents

Raw jsonnet string to evaluate.

jsonnet_library_paths

List of jsonnet library paths.