0
0
mirror of https://github.com/saltstack-formulas/openssh-formula.git synced 2024-11-27 23:07:53 +01:00
openssh-formula/openssh/client.sls
Daniel Dehennin df477b25c2 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.
2020-07-31 10:54:40 +02:00

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 %}