feat(map): adjusted the formula to be more like the template formula

This commit is contained in:
Alex Wede committed 2026-08-30 21:06:57 +02:00
1 parent 1402cda3e3
commit 4a92a91c70
15 files changed
+777 -50

No files matched your search

+3 -2
View File
@@ -1,8 +1,9 @@
# -*- coding: utf-8 -*-
# vim: ft=sls
{#- import settings from map.jinja #}
{%- from "sysctl/map.jinja" import sysctl_settings with context %}
{%- set tplroot = tpldir.split('/')[0] %}
{%- from tplroot ~ "/map.jinja" import mapdata with context %}
{%- set sysctl_settings = mapdata.sysctl %}
{% if sysctl_settings.params is defined %}
{% for param_name, param in sysctl_settings.get('params').items() %}