mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #29832 from jleimbach/fix-keyboard.py-for-rhel-without-systemd
Fixed typo in order to use the keyboard module for RHEL without systemd
This commit is contained in:
commit
e865c787a4
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ def __virtual__():
|
|||
Only works with systemd or on supported POSIX-like systems
|
||||
'''
|
||||
if salt.utils.which('localectl') \
|
||||
or __grains__['os_family'] in ('Redhat', 'Debian', 'Gentoo'):
|
||||
or __grains__['os_family'] in ('RedHat', 'Debian', 'Gentoo'):
|
||||
return True
|
||||
return False
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue