2020-08-25 06:03:17 +02:00
|
|
|
# yamllint disable rule:indentation rule:line-length
|
2020-12-22 23:18:14 +01:00
|
|
|
# {{ grains.get("osfinger", grains.os) }}
|
2020-08-25 06:03:17 +02:00
|
|
|
---
|
|
|
|
{#- use salt.slsutil.serialize to avoid encoding errors on some platforms #}
|
2020-12-22 23:18:14 +01:00
|
|
|
{{ salt["slsutil.serialize"](
|
|
|
|
"yaml",
|
2020-08-25 06:03:17 +02:00
|
|
|
map,
|
|
|
|
default_flow_style=False,
|
|
|
|
allow_unicode=True,
|
|
|
|
)
|
|
|
|
| regex_replace("^\s+'$", "'", multiline=True)
|
|
|
|
| trim
|
|
|
|
}}
|