0
0
mirror of https://github.com/saltstack-formulas/openssh-formula.git synced 2024-11-27 20:57:48 +01:00

Modifying OpenSSH formula service name on RedHat since it is called 'sshd', not 'ssh'

This commit is contained in:
Mark Eggert 2014-01-02 23:50:59 -06:00
parent 92ac8a32aa
commit d35929876f

View File

@ -6,7 +6,11 @@ openssh:
{% endif %}
service.running:
- enable: True
{% if grains['os_family'] == 'RedHat' %}
- name: sshd
{% else %}
- name: ssh
{% endif %}
- require:
- pkg: openssh
- file: sshd_banner