1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fixed hostname module for RHEL6 Workstation

This commit is contained in:
Sam Hartsfield 2013-11-26 11:36:10 -05:00
parent 7be13faae8
commit ae7735b45d

View file

@ -226,11 +226,16 @@ class RedHat5Hostname(Hostname):
distribution = 'Redhat'
strategy_class = RedHatStrategy
class RedHatHostname(Hostname):
class RedHatServerHostname(Hostname):
platform = 'Linux'
distribution = 'Red hat enterprise linux server'
strategy_class = RedHatStrategy
class RedHatWorkstationHostname(Hostname):
platform = 'Linux'
distribution = 'Red hat enterprise linux workstation'
strategy_class = RedHatStrategy
class CentOSHostname(Hostname):
platform = 'Linux'
distribution = 'Centos'