nsd-formula/nsd/_mapdata/_mapdata.jinja
Alexander Weidinger 91f759f953 feat: convert template-formula to nsd-formula
BREAKING CHANGE: changed all state names and ids
2021-04-01 23:00:17 +02:00

14 lines
353 B
Django/Jinja

# yamllint disable rule:indentation rule:line-length
# {{ grains.get("osfinger", grains.os) }}
---
{#- use salt.slsutil.serialize to avoid encoding errors on some platforms #}
{{ salt["slsutil.serialize"](
"yaml",
map,
default_flow_style=False,
allow_unicode=True,
)
| regex_replace("^\s+'$", "'", multiline=True)
| trim
}}