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:
Mike Place 2015-12-18 09:04:57 -07:00
commit e865c787a4

View file

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