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:
Daniel Dehennin committed 2020-07-31 10:54:40 +02:00
1 parent a8cd7370df
commit df477b25c2
25 files changed
+388 -119

No files matched your search

+2 -1
View File
@@ -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 %}