Saltstack Official OpenSSH Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

init.sls 342B

11 years ago
11 years ago
11 years ago
1234567891011121314
  1. {% from "openssh/map.jinja" import openssh with context %}
  2. openssh:
  3. {% if openssh.server is defined %}
  4. pkg.installed:
  5. - name: {{ openssh.server }}
  6. {% endif %}
  7. service.running:
  8. - enable: True
  9. - name: {{ openssh.service }}
  10. {% if openssh.server is defined %}
  11. - require:
  12. - pkg: {{ openssh.server }}
  13. {% endif %}