mirror of
https://github.com/saltstack-formulas/sudoers-formula.git
synced 2024-12-18 10:32:55 +01:00
a643385daf
* Semi-automated using https://github.com/myii/ssf-formula/pull/284
14 lines
353 B
Django/Jinja
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
|
|
}}
|