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 lines
450B

  1. {% from "openssh/map.jinja" import openssh with context %}
  2. ensure dig is available:
  3. pkg.installed:
  4. - name: {{ openssh.dig_pkg }}
  5. - unless: which dig
  6. manage ssh_known_hosts file:
  7. file.managed:
  8. - name: {{ openssh.ssh_known_hosts }}
  9. - source: salt://openssh/files/ssh_known_hosts
  10. - template: jinja
  11. - user: root
  12. - group: {{ openssh.ssh_config_group }}
  13. - mode: 644
  14. - require:
  15. - pkg: ensure dig is available