
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.
10 lines
270 B
Plaintext
10 lines
270 B
Plaintext
{% from "openssh/map.jinja" import mapdata with context %}
|
|
{%- set openssh = mapdata.openssh %}
|
|
|
|
openssh_client:
|
|
pkg.installed:
|
|
- name: {{ openssh.client }}
|
|
{% if openssh.client_version is defined %}
|
|
- version: {{ openssh.client_version }}
|
|
{% endif %}
|