mirror of
https://github.com/saltstack-formulas/openssh-formula.git
synced 2024-11-30 22:15:33 +01:00
df477b25c2
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 %}
|