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

Merge pull request #5063 from samh/devel

Fixed hostname module for RHEL6 Workstation
This commit is contained in:
jctanner 2013-12-02 13:38:32 -08:00
commit ef92b2cb12

View file

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