0
0
mirror of https://github.com/saltstack-formulas/openssh-formula.git synced 2025-02-23 21:40:11 +01:00

15 lines
342 B
Plaintext
Raw Normal View History

{% from "openssh/map.jinja" import openssh with context %}
2013-06-13 11:16:18 -06:00
openssh:
2014-08-08 13:38:27 +01:00
{% if openssh.server is defined %}
pkg.installed:
- name: {{ openssh.server }}
2014-08-08 13:38:27 +01:00
{% endif %}
2013-06-13 11:16:18 -06:00
service.running:
- enable: True
- name: {{ openssh.service }}
2014-08-08 13:38:27 +01:00
{% if openssh.server is defined %}
2013-06-13 11:16:18 -06:00
- require:
- pkg: {{ openssh.server }}
2014-08-08 13:38:27 +01:00
{% endif %}