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.

18 satır
439B

  1. {% from "openssh/map.jinja" import openssh with context %}
  2. include:
  3. - openssh
  4. {% if salt['pillar.get']('sshd_config', False) %}
  5. sshd_config-with-ini:
  6. ini.options_present:
  7. - name: {{ openssh.sshd_config }}
  8. - separator: ' '
  9. - watch_in:
  10. - service: {{ openssh.service }}
  11. - sections:
  12. {%- for k,v in salt['pillar.get']('sshd_config',{}).items() %}
  13. {{ k }}: '{{ v }}'
  14. {%- endfor %}
  15. {% endif %}