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:
parent
92ac8a32aa
commit
d35929876f
@ -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…
Reference in New Issue
Block a user