mirror of
https://github.com/saltstack-formulas/sysctl-formula.git
synced 2026-10-05 13:07:21 +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
-2
@@ -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() %}
|
||||
|
||||
Reference in new issue
Block a user