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