瀏覽代碼

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

master
Mark Eggert 11 年之前
父節點
當前提交
d35929876f
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. +4
    -0
      openssh/init.sls

+ 4
- 0
openssh/init.sls 查看文件

@@ -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

Loading…
取消
儲存