Browse Source

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

master
Mark Eggert 11 years ago
parent
commit
d35929876f
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      openssh/init.sls

+ 4
- 0
openssh/init.sls View File

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

Loading…
Cancel
Save