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 %}
|
{% 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…
Reference in New Issue
Block a user