mirror of
https://github.com/saltstack-formulas/openssh-formula.git
synced 2026-10-24 14:25:13 +02:00
feat(map): update to v4 “map.jinja”
The `map.jinja` now exports a single variable called `mapdata`. We extract the `openssh`, `sshd_config` and `ssh_config` from it to minimize the changes to `.sls` files.
This commit is contained in:
1 parent
a8cd7370df
commit
df477b25c2
25 files changed
+388
-119
No files matched your search
+2
-1
@@ -1,4 +1,5 @@
|
||||
{% from "openssh/map.jinja" import openssh with context %}
|
||||
{% from "openssh/map.jinja" import mapdata with context %}
|
||||
{%- set openssh = mapdata.openssh %}
|
||||
|
||||
openssh:
|
||||
{% if openssh.server is defined %}
|
||||
|
||||
Reference in new issue
Block a user