mirror of
https://github.com/saltstack-formulas/openssh-formula.git
synced 2025-04-17 10:10:28 +00:00
Modifying OpenSSH formula service name on RedHat since it is called 'sshd', not 'ssh'
This commit is contained in:
parent
92ac8a32aa
commit
d35929876f
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue