mirror of
https://github.com/saltstack-formulas/sysctl-formula.git
synced 2026-10-02 22:51:44 +02:00
feat(map): adjusted the formula to be more like the template formula
This commit is contained in:
1 parent
1402cda3e3
commit
4a92a91c70
15 files changed
+777
-50
No files matched your search
@@ -3,10 +3,10 @@
|
||||
---
|
||||
{#- Get the `tplroot` from `tpldir` #}
|
||||
{%- set tplroot = tpldir.split("/")[0] %}
|
||||
{%- from tplroot ~ "/map.jinja" import sysctl_settings with context %}
|
||||
{%- from tplroot ~ "/map.jinja" import mapdata with context %}
|
||||
|
||||
{%- set _mapdata = {
|
||||
"values": sysctl_settings,
|
||||
"values": mapdata,
|
||||
} %}
|
||||
{%- do salt["log.debug"]("### MAP.JINJA DUMP ###\n" ~ _mapdata | yaml(False)) %}
|
||||
|
||||
|
||||
Reference in new issue
Block a user