0
0
mirror of https://github.com/saltstack-formulas/openssh-formula.git synced 2024-12-01 00:25:31 +01:00
openssh-formula/openssh/init.sls
2014-08-08 13:38:27 +01:00

15 lines
342 B
Plaintext

{% from "openssh/map.jinja" import openssh with context %}
openssh:
{% if openssh.server is defined %}
pkg.installed:
- name: {{ openssh.server }}
{% endif %}
service.running:
- enable: True
- name: {{ openssh.service }}
{% if openssh.server is defined %}
- require:
- pkg: {{ openssh.server }}
{% endif %}